[OpenAjaxIDE] Does <require type="library"> always require a 'src'attribute?

Kin Blas jblas at adobe.com
Fri Aug 22 12:01:51 PDT 2008


I thought we decided in one of our meetings that the src paths of any
<require> files with an attribute of library="dojo" were relative to the
src path in the library <require> tag?

 

If that's the case, I would assume that there must be a src attribute
specified ... or should the default of an unspecified library src path
be ".", which is the same directory as the Widget Meta Data file?

 

--== Kin ==--

 

________________________________

From: ide-bounces at openajax.org [mailto:ide-bounces at openajax.org] On
Behalf Of Jon Ferraiolo
Sent: Thursday, August 21, 2008 12:50 PM
To: ide at openajax.org
Subject: [OpenAjaxIDE] Does <require type="library"> always require a
'src'attribute?

 

What spurred me to ask this question is that some of the sample widgets
in the reference implementation look like this:

<requires>
<require type="library" name='dojo' version='1.1' copy="false"/>
<require library='dojo' version='1.1' type="javascript"
src="calendar.js"/>
<require library='dojo' version='1.1' type="css"
src="../../lib/dojo/resources/dojo.css"/>
<require library='dojo' version='1.1' type="css"
src="../../lib/dijit/themes/tundra/tundra.css"/>
<require library='dojo' version='1.1' type="css"
src="../../lib/dijit/themes/tundra/tundra_rtl.css"/>
</requires>

Does the first <require> element (i.e., <require type="library"> need a
'src' attribute? I think it doesn't, but I wanted to check.

Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080822/d6beca41/attachment.html 


More information about the IDE mailing list