AnsweredAssumed Answered

question about dojo.registerModulePath in ags_js_api

Question asked by steeeeps on Nov 22, 2011
Latest reply on Nov 27, 2011 by steeeeps
in dojo setting ,For instance, if �??/web/scripts/dojo/dojo/dojo.js�?� is the path to dojo.js, and you do dojo.require(�??some.module�?�), Dojo will try to load the JavaScript file using the path �??/web/scripts/dojo/some/module.js�?�.  but  what about this in ags_js_api?
in my application  ,i used dojo.provide a resource named "custom/config.js" and put "custom/config.js" in the dojo folder,like this: http://forums.arcgis.com/attachment.php?attachmentid=10309&stc=1&d=1322039729

but it throws error when i  use dojo.require("custom.config") ,
error like this pic: http://forums.arcgis.com/attachment.php?attachmentid=10310&stc=1&d=1322039897

thx for your help!

Attachments

Outcomes