On 04/18/2010 09:50 AM, panyasan wrote:
> 
> Update: "add-script" DOES load the scripts BEFORE qooxdoo - so that's what
> you wanted. 

It doesn't exactly load the script before qooxdoo - The loader code is
always loaded first, and as it might contain the boot classes
("compile-options/loader-with-boot":true) these might be also loaded
first. Then the "add-script" script is loaded.

> Additionally, there seems like there has been some change in the trunk:
> 
> if your add 
> 
>     // load third-party scripts before loading qooxdoo
>     "common":
>     {
>       "add-script" :
>       [
>         {
>           "uri" :
> "../build/resource/---contrib-name--/your-custom-script.js"
>         }
>       ]
>     }
> 
> to your config, you can automatically load scripts from the resource folder
> of your contribution - in both the source and build version - you just need
> to generate the build once so that the resource files of the used
> contributions are copies over.

Nothing has changed here. The additional script is loaded from an URI,
and if you choose to point this URI to the build/resource path of your
app, so be it. But as with all files in the 'resource' paths, they are
only copied from source to build if there is a #asset hint requesting them.

T.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to