Opened 14 years ago
Closed 14 years ago
#2789 closed defect (invalid)
debugAtAllCosts: true reveals bug
Reported by: | guest | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | General | Version: | 0.4 |
Keywords: | dojo.xml.Parse debugAtAllCosts | Cc: | |
Blocked By: | Blocking: |
Description
I have a web page which works when I don't put debugAtAllCosts: at true but does me that if i do (and I would like to debug other functions in the page) :
dojo.xml.Parse is not a constructor dojo.js (line 863) anonymousdojo.js (line 863) anonymousdojo.js (line 884) anonymousdojo.js (line 237) anonymousdojo.js (line 293) anonymousdojo.js (line 286) dj_load_initdojo.js (line 814)
lines in cause are these in dojo.js :
(_cb.length>0)){ |
if(dojo.evalObjPath("dojo.widget.Parse")){ var _cc=new dojo.xml.Parse(); if(_cb.length>0){ for(var x=0;x<_cb.length;x++){ var _ce=document.getElementById(_cb[x]); if(!_ce){ continue;
Is there a dojo.js in a pretty format ?
Change History (4)
comment:1 Changed 14 years ago by
comment:3 Changed 14 years ago by
That was it, thank you, that works with dojo.hostenv.writeIncludes();
Could that option be in default options ?
I am using dojo-0.4.0. Ok, I have that uncompressed dojo, I will use it instead in my dev environment. I don't know where I can specify that type of build, I just downloaded the entire tar.gz from the web site. Now I am also on the svn, but I still don't know how to rebuild the distribution.
comment:4 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
You can download the 0.4.2 source from here: http://download.dojotoolkit.org/release-0.4.2/dojo-0.4.2-src.zip
To do a custom build, see this page: http://dojotoolkit.org/docs/book/part6
What version of Dojo are you using? And what type of build (normal or xdomain build)? In all builds, there is normally a dojo.js.uncompressed.js that includes the commented, formatted source.
If you are using an xdomain 0.4.2 build, there may be a load order issue. If that is what you are using, let me know and I can provide some further info.