4.深入学习seajs之插件
深入学习seajs 插件 –text –style –combo –flush –debug –log –health5.深入学习seajs之开发技巧
深入学习seajs 技巧 use如何引入多模块 Sea.js加ID有利提取 如何改造文件为CMD模块 调试接口cache <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>无标题文档</title> <script src="sea/sea.js" id="seajsnode"></script> <script> /*seajs.use('./js/module1.js',function(ex){ ex.show(); }); seajs.use('./js/module2.js',function(ex){ ex.show(); });*/ seajs.use(['./js/module1.js','./js/module2.js'],function(ex,ex2){ ex.show(); ex2.show(); }); </script> </head> <body> </body> </html>
转载于:https://www.cnblogs.com/kingCpp/p/4831008.html
