Christof Donat wrote:
> 
> No, the order could be doA() doC() doB(). That is because doA() is called
> as 
> soon as b.js is loaded but before c.js is loaded. The call to
> $.getScript() 
> in b.js returns immediatelly and loads c.js assynchonously. Then b.js is 
> finished and doA() is called while c.js is still loading.
> 

$.getScript works this way: download, evaluate, callback, finish. 
Are you saying that the callback call occurs before evaluate has ended? 
Well, that the evaluation of b.js ends before c.js is loaded?

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


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

Reply via email to