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

Jon Ferraiolo jferrai at us.ibm.com
Thu Aug 21 12:50:15 PDT 2008


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/20080821/894814f4/attachment.html 


More information about the IDE mailing list