Christof Donat wrote:
> 
> That does not help, if your loaded script needs to load another script.
> 

For example:

file "a.js" is [ $.getScript( "b.js", function() { doA(); } ); ]
file "b.js" is [ $.getScript( "c.js", function() { doB(); } ); ]
file "c.js" is [ doC(); ]
the page has: [ script src=jquery.js - script src=a.js ]

You say that the order could be: doB(); doC(); doA(); instead of: doC();
doB(); doA(). Or also that doA() could happen before the end?


-- 
View this message in context: 
http://www.nabble.com/Working-on-a-getScripts-plugin-tf2696465.html#a7526045
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to