| 1 | define([ |
| 2 | "dojo/_base/declare", |
| 3 | "./_CalendarBase", |
| 4 | "./_CalendarMonth" |
| 5 | ], function(declare, _CalendarBase, _CalendarMonth){ |
| 6 | return declare("dojox.widget.MonthlyCalendar", [_CalendarBase, _CalendarMonth], { |
| 7 | // summary: |
| 8 | // A calendar with only a month view. |
| 9 | _makeDate: function(value){ |
| 10 | var now = new Date(); |
| 11 | now.setMonth(value); |
| 12 | return now; |
| 13 | } |
| 14 | }); |
| 15 | }); |