Opened 3 years ago

Closed 3 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 bill)

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 3 years ago by bill

Description: modified (diff)
Status: newassigned

comment:2 Changed 3 years ago by bill

Milestone: tbd1.11

comment:3 Changed 3 years ago by wkeese <bill@…>

Resolution: fixed
Status: assignedclosed

In 14ac0d4/dojox:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.