update:CommonJS
This commit is contained in:
14
09-Node.js/03-JavaScript模块化:AMD.md
Normal file
14
09-Node.js/03-JavaScript模块化:AMD.md
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
|
||||
## AMD的引入
|
||||
|
||||
### AMD的概念
|
||||
|
||||
[**AMD规范**](https://github.com/amdjs/amdjs-api):是 **[RequireJS](http://requirejs.org/)** 在推广过程中对模块化定义的规范化产出。
|
||||
|
||||
AMD:
|
||||
|
||||
|
||||
AMD专门用于浏览器端,模块的加载是异步的。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user