Define: If you want to declare a module other parts of your application will depend on.
//申明了一个模块且这个模块被其他部分所依赖
Require: If you just want to load and use stuff.
仅仅是引入js文件
转载于:https://my.oschina.net/u/861562/blog/158892
Define: If you want to declare a module other parts of your application will depend on.
//申明了一个模块且这个模块被其他部分所依赖
Require: If you just want to load and use stuff.
仅仅是引入js文件
转载于:https://my.oschina.net/u/861562/blog/158892