阅读背景:

RequireJs无法随机加载脚本

来源:互联网 

I've got an HTML template (from themeforest) which has lots of jQuery plugins and a main.js where all of them are instantiated and configured for the template. I'm creating an AngularJS application based on that template, and i'm using RequireJS to load my scripts. In the index.html of the template, I load my require-config.js file. 80% of the times, the app loads just fine, but the other 20%, an error appears like "jQuery is not a function" or "$(...).mmenu is not a function". Here are my files. Can someone figure out what am I doing wrong?I've got an HTML template (from themeforest) wh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: