| 1 | define([ |
| 2 | "dojo/_base/declare", |
| 3 | "./_CalendarYearView" |
| 4 | ], function(declare, _CalendarYearView){ |
| 5 | return declare("dojox.widget._CalendarYear", null, { |
| 6 | // summary: |
| 7 | // Mixin class for adding a view listing 12 years to the |
| 8 | // dojox/widget/_CalendarBase |
| 9 | |
| 10 | parent: null, |
| 11 | |
| 12 | constructor: function(){ |
| 13 | // summary: |
| 14 | // Adds a dojox/widget/_CalendarYearView view to the |
| 15 | // dojo/widget/_CalendarBase widget. |
| 16 | this._addView(_CalendarYearView); |
| 17 | } |
| 18 | }); |
| 19 | }); |