javascript - modenizr complete not executing when already loaded files load again -


i using modenizr load js , css files after loading files have function. on complete of modenizr wrote code. problem when first time files loaded executes complete if load file loaded not executing complete.help me sort out problem

my code given below

function loadfilesandexecutecallback(files, callback) {                                       modernizr.load({     load : files,     complete : function() {          callback();     } }); } 


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -