Opened 9 years ago
Closed 9 years ago
#14093 closed defect (wontfix)
dojo.i18n.getLocalization() not working in Rhino environment
Reported by: | Evan | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Core | Version: | 1.7.0b1 |
Keywords: | Cc: | Rawld Gill, Adam Peller | |
Blocked By: | Blocking: |
Description
Noticed this issue when dealing with #14064
dojo.i18n.getLocalization() is now always using xhr to fetch bundles, and this won't work in Rhino environment, some similar logic in previous dojo\_base\_loader\hostenv_rhino.readText() will get this fixed by using Rhino's native java.io to load local files.
Not sure if there are other similar cases.
Note: See
TracTickets for help on using
tickets.
breaks backcompat, but probably for very few. Hopefully the require(i18n!...) path works in Rhino... synch and asynch?