I need some help please with my Dojo 1.7.2 custom build - the build works fine but returns an error in the browser.
Here's my profile file:
dependencies = {
layers: [
{
// This is a specially named layer, literally 'dojo.js'
// adding dependencies to this layer will include the modules
// in addition to the standard dojo.js base APIs.
name: "dojo.js",
dependencies: [
"dijit.registry",
"dijit.Dialog",
"dijit.Tooltip",
"dijit.form.Button",
"dijit.layout.ContentPane"
]
}
],
prefixes: [
[ "dijit", "../dijit" ],
[ "dojox", "../dojox" ]
]
}
I don't think I need to add "digit.registry" - the generated dojo.js file doesn't change with or without it. I made it a dependency since I use digit.byId
here's how I build:
./build.sh -r --profile profiles/my.profile.js --releaseDir /my/release/directory
I then include the generated dojo.js in my html code. When the page loads, the javascript console reveals the error "_5c4 is not a function" when attempting to do something with digit.byId.
When I instead load the full Dojo from ajax.googleapis.com, everything works perfectly.
Should I be including ../dijit/dijit.js in the html as well?