Opened 4 years ago

Last modified 20 months ago

#18688 assigned defect

dojox/calendar/CalendarBase constructor handles properties oddly

Reported by: ChrisOwens Owned by: dg
Priority: undecided Milestone: 1.14
Component: Dojox Version: 1.10.4
Keywords: Cc:
Blocked By: Blocking:

Description

The constructor function for dojox/calendar/CalendarBase reads some values from args (for example, look in dojox/calendar/CalendarBase.js.uncompressed.js around line 295 and following, and see that we're reading DatePackage? from args. But what if we wanted to sublcass Calendar, and the subclass declaration provided a value for DatePackage? -- it wouldn't be picked up here.

On IRC, kgf suggested doing this in "postMixInProperties".

Change History (2)

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: changed from Adam Peller to dg
Status: newassigned

comment:2 Changed 20 months ago by dylan

Milestone: 1.131.14
Note: See TracTickets for help on using tickets.