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:

but it throws error when i  use dojo.require("custom.config") ,
error like this pic:

thx for your help!