2. Proficient in the JS modular development of front-end series technology-in-depth learning Seajs (iv)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.