Opened 14 years ago
Closed 14 years ago
#2281 closed task (fixed)
get localization code out of the bootstraps
Reported by: | alex | Owned by: | Adam Peller |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Core | Version: | 0.4.1 |
Keywords: | Cc: | [email protected]…, [email protected]… | |
Blocked By: | Blocking: |
Description
the localization loading code is large, and if you need it, you know you need it. It needs to not be sent in every profile and every build.
Change History (4)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | → 0.9 |
---|
comment:3 Changed 14 years ago by
Note: See
TracTickets for help on using
tickets.
Something I mentioned on an email thread:
So maybe something like this:
dojo.requireLocalization = function(/*args*/){
}
For xdomain builds though, they would likely need the real dojo.requireLocalization already in dojo.js (because of the async loading). Maybe it would work out. Might have to do some custom work in loader_xd.js.
We might have to do some extra work in the build process to figure out when we need the "real" requireLocalization definition for the cases in which the build includes a widget that is localized.