[dojo-contributors] self executing scripts

Bill Keese bill at dojotoolkit.org
Sun May 31 21:12:24 EDT 2009


Peter E Higgins wrote:
> <script src="dojo/dojo.js" djConig="parseOnLoad:true">
>     dojo.require("dijit.TitlePane");
>     dojo.require("dijit.layout.BorderContainer");
>     // or just:
>     dojo.require("my.application");
> </script>

I guess I don't understand what you are trying to achieve.   We have the 
same thing today except you need to use two script tags, right?

<script src="dojo/dojo.js" djConfig="parseOnLoad:true"></script>
<script>
     dojo.require("dijit.TitlePane");
     dojo.require("dijit.layout.BorderContainer");
</script>



More information about the dojo-contributors mailing list