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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -