已关闭。此问题需要超过focused。当前不接受答案。
**想要改进此问题吗?**更新此问题,使其仅关注editing this post的一个问题。
5年前关闭。
Improve this question
Dojo表示“dojo AMD格式,使代码更容易创作和调试”(https://dojotoolkit.org/documentation/tutorials/1.10/modules_advanced/)
有没有人可以给我们一个例子来证明这个说法?坦克:)
已关闭。此问题需要超过focused。当前不接受答案。
**想要改进此问题吗?**更新此问题,使其仅关注editing this post的一个问题。
5年前关闭。
Improve this question
Dojo表示“dojo AMD格式,使代码更容易创作和调试”(https://dojotoolkit.org/documentation/tutorials/1.10/modules_advanced/)
有没有人可以给我们一个例子来证明这个说法?坦克:)
1条答案
按热度按时间xmd2e60i1#
AMD允许在模块中划分/组织您的代码,按需加载,这有一些优势:
关于AMD and module的更多信息。
导航栏的简单模块示例: