dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
16 lines (15 loc) • 370 B
JavaScript
define([
"dojo/_base/declare",
"./_CalendarBase",
"./_CalendarMonth"
], function(declare, _CalendarBase, _CalendarMonth){
return declare("dojox.widget.MonthlyCalendar", [_CalendarBase, _CalendarMonth], {
// summary:
// A calendar with only a month view.
_makeDate: function(value){
var now = new Date();
now.setMonth(value);
return now;
}
});
});