add:AMD相关。

This commit is contained in:
qianguyihao
2018-04-12 11:13:57 +08:00
parent a1edf28f97
commit 07cb09c4f8
5 changed files with 309 additions and 52 deletions

View File

@@ -0,0 +1,20 @@
## CMD的基本语法
### CMD的概念
**CMD**Asynchronous Module Definition异步模块定义。AMD专门用于浏览器端模块的加载是异步的。
[**CMD规范**](https://github.com/amdjs/amdjs-api):是 **[SeaJS](http://requirejs.org/)** 在推广过程中对模块化定义的规范化产出。
SeaJS一个基于CMD规范实现的模块化开发解决方案。
### 暴露模块的方式