Opened 5 years ago
Closed 5 years ago
#18794 closed defect (fixed)
dojox/date won't load in requireJS
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | undecided | Milestone: | 1.11 |
Component: | Dojox | Version: | 1.11.0-rc1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Since the dojox/date modules list "dojox"
in the define()
dependency list (or technically, ".."
and "../.."
, they won't load in requireJS, or at least not without some configuration setting I couldn't figure out.
The quickest and safest fix is to list the dependency as "dojox/main"
rather than "dojox"
. A better fix would be to use lang.getObject("dojox.date.hebrew", true)
rather than lang.getObject("date.hebrew", true, dojox)
, or better yet lang.setObject("dojox.date.hebrew", { ... })
. But the simple fix will do.
Change History (3)
comment:1 Changed 5 years ago by
Description: | modified (diff) |
---|---|
Status: | new → assigned |
comment:2 Changed 5 years ago by
Milestone: | tbd → 1.11 |
---|
comment:3 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 14ac0d4/dojox: