Dojo 面试题与答案
Question: What is Package System in Dojo?Answer:• Dojo consists of JavaScript files • Package system takes care that only needed files are included • Each JavaScript file can be named as package dojo.provide(dojo.string) • By that name the package can be taken in use dojo.require(dojo.string) • One has not to remember any file or directory names • Only dojo.js has to be included into HTML document • That file takes care of initialization of Dojo • There is a couple of pre packaged builds that consist of different kinds of packages e.g. Widget, event or IO builds. |
保存以便复习
收藏此条目、标记为困难题,或将其加入复习集合。
这有帮助吗? 是 否
用户评价最有帮助的内容:
- What is Dojo?
- What is the basic structure in Dojo?
- Give a sample example on Dojo.
- What are Application Support Libraries in Dojo?
- What is Package System in Dojo?