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

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -