Deep Learning Seajs configuration information alias : alias configuration paths : path configuration vars : variable configuration map : map configuration preload : pre-add-ons debug : Debug mode base : Base Path CharSet : file Encoding
Deep Learning Seajsmoduleid : module Unique identifier URI : module Absolute path dependencies : The current module relies on exports : Current module external interface require. Async Asynchronous Load Module
// JavaScript Document // var a = +; Define (function (require,exports,module) { //alert (module.exports = = exports); /* Require.async ('. Js/module2.js ', function () { alert (' Module loaded callback '); }); */ var - ; = { a:a }; });
4. In-depth study of SEAJS plugins
Deep learning Seajs Plugins
–text–style–combo–flush–debug–log–health
5. In-depth study of SEAJS development skills
In-depth learning seajs techniques use how to introduce multi-module sea.js plus ID advantageous extraction How to transform the file for CMD module Debug Interface Cache
<! DOCTYPE Html>"Content-type"Content="text/html; Charset=utf-8"><title> Untitled Document </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>2. Proficient in the JS modular development of front-end series technology-in-depth learning Seajs (iv)