I am trying to update my dojo version from 1.0.0.1 to 1.0.0.2. And in concern of performance,I prefer to compress the js files under dojo folder. This 1.0.0.2 version can work fine in my project.However after i customed a new dojo build (i did nothing but compressing the dojo files using Shrinksafe), it couldn't work ,warning :Bundle not found : loading in dijit ,locale=en ;
My os is zh-cn /WinXp ,and my browser IE6.0,language is en ;
I looked into it , and find if i use 1.0.0.2 without compressing it ,dojo._loadedModules[dijit.nls.loading] has three values : ROOT ,zh ,zh-cn ; If i use 1.0.0.2 compressed version ,dojo._loadedModules[dijit.nls.loading] has just two values : zh ,zh-cn ;This leads to an exception in function dojo.i18n.getLocalization in dojo/i18n.js .
I am using these widgets in my project :dijit.form.DropDownButton, dijit.Menu, dijit.MenuItem, dijit.form.RadioButton, dijit.form.TextBox, dijit.form.Button, dijit.Dialog, dijit.form.CheckBox, dijit.form.NumberTextBox, dijit.layout.TabContaine, dijit.layout.ContentPane.
anybody could tell me what's wrong?
after custom build ,a warning appears:Bundle not found : loading in dijit ,locale=en
Submitted by chaozbj on Tue, 02/19/2008 - 05:41.
- Login or register to post comments
- Subscribe post

dijit/layout/ContentPane.js with a uncompres
I traced for a long time and find that: after compressing ,the code
dojo.requireLocalization("dijit","loading");in dijit/layout/ContentPane.js has been changed todojo.requireLocalization("dijit","loading",null,"cs,de,es,fr,hu,it,ja,ko,ROOT,pl,pt,ru,zh,zh-tw");.If i change that back ,the project will work well again.If there an option i can use to custom build dojo without making this change?
please see this thread
http://www.dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-support/af...