2012/1/25 A Matías Quezada <[email protected]>
> Hi all,
>
> I'm trying Qooxdoo but I need some files to be included on the generated
> js: "security.js" and "supply.js". They do not depend on qooxdoo and I need
> it to be loaded before Qooxdoo. I cannot modify the HTML page.
>
> I've tried with "add-script" configuration, but it loads them after
> qooxdoo is loaded, I need the code of this app to be on the generated
> script before qooxdoo. Is it possible?
>
Do you really need for the external scripts to be loaded before qooxdoo is
loaded, or is it adequate for the external scripts to be loaded before any
of your qooxdoo code runs? The latter can be accomplished with:
Application.js:
members :
{
main : function()
{
var loader = new qx.io.ScriptLoader();
loader.load(
"/your/script",
function(status)
{
this._main();
},
this);
}
_main : function()
{
// Your application code goes here
}
}
Derrell
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel