摘要: ```js /* * a.js * 普通的非cmd规范的js文件 */ function fun1(){ console.log("fun1"); //调用seajs模块中的fun1 seajs.use('./b.js',function(b){ b.fun1(); }) } /* * b.js * seajs调用的cmd模块文件 */ define(functi... 阅读全文
posted @ 2016-01-06 16:08 Mr.Leo 阅读(663) 评论(0) 推荐(0) 编辑