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
Post a Comment