dijit
dojo
util
The main JS file of the build is in dojo/my-dojo.js
Although the following point of its usage with ZF are unclear still:
1. Is the build platform independent, meaning is the same build can be
used for both development and production platforms?
2. Are all of the above subdirectories required to be able to use the Layer?
3. How to use the Layer in ZF if its files were copied into
scripts/dojo-custom public directory? Will the following work and
enough:
$view->dojo()->addStylesheetModule('dijit.themes.tundra')
->setLocalPath('/scripts/dojo/dojo.js')
->addLayer('/scripts/dojo-custom/dojo/my-dojo.js')
->registerModulePath('../scripts/dojo-custom', 'dojo-custom');
4. Should the Dojo full release code be kept in the scripts/dojo?
没有评论:
发表评论