On 01/25/2012 02:14 PM, Derrell Lipman wrote:
> 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
>   }
> }

I don't think this will work for him, as this basically amounts to what 
'add-script' does. But this seems already to be too late, if I get it 
right, as class code will already be parsed. My solution with splitting 
the class code from the loader should do the trick.

T.


------------------------------------------------------------------------------
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

Reply via email to