http://dojotoolkit.org/documentation/tutorials/1.10/hello_dojo/index.html
(1)
(2)The AMD define function accepts similar parameters to the require function - an array of module ids and a callback function.
(3)CDN Usage
(4)dojo/domReady plugin:Again, note that the module identifier ends with !; without this, the dojo/domReady module would simply function like any other module.
http://dojotoolkit.org/documentation/tutorials/1.10/dojo_config/index.html
(1)Notice that dojoConfig is defined in a script block before dojo.js is loaded. This is of paramount importance—if reversed, the configuration properties will be ignored.
本文介绍Dojo工具包中AMD(Asynchronous Module Definition)规范的使用方法,包括define函数参数详解及CDN资源加载方式。此外还介绍了dojo/domReady插件的独特用法,并强调了正确配置dojoConfig的重要性。

1070

被折叠的 条评论
为什么被折叠?



