javascript - Head.js multiple cals of head.load -


does multiple calls of head.load syncronised?
mean if have code this:

head.load('scr1.js',...,'scr8.js'); head.load('scr11.js',...,'scr18.js'); .................. head.load('scr81.js',...,'scr88.js'); 

will js files loaded asynchronously , executed in order in source (i.e scr1,scr2,scr3,....scr8,scr11,scr12...)?

head.load('scr1.js',...,'scr8.js'); load files asyn, execute in order. , head.load('scr11.js',...,'scr18.js');. but, not sure block execute first i.e. head.load('scr1.js',...,'scr8.js'); or head.load('scr11.js',...,'scr18.js');. if require execute in order load head.load('scr11.js',...,'scr18.js'); in callback of head.load('scr1.js',...,'scr8.js');

head.load('scr1.js',...,'scr8.js', function (){   head.load('scr11.js',...,'scr18.js'); }); 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -