main.min.js
465 Bytes
requirejs.config({baseUrl:"js",paths:{jquery:"jquery-2.1.3.min",underscore:"underscore-min",text:"text",fastclick:"fastclick",common:"common"},shim:{underscore:{exports:"_"}}}),requirejs(["fastclick","topic"],function(e,r){var o=require("fastclick");o.attach(document.body),r.initialize()}),requirejs.onError=function(e){throw console.log(e.requireType),"timeout"===e.requireType&&(alert("加载超时,请重试!"),console.log("modules: "+e.requireModules)),e};