jquery-ui/tests/unit/calendar/common.js
2015-07-29 00:06:29 +02:00

34 lines
512 B
JavaScript

define( [
"lib/common",
"ui/calendar",
"globalize-locales"
], function( common ) {
common.testWidget( "calendar", {
defaults: {
buttons: [],
classes: {},
disabled: false,
dateFormat: { date: "short" },
eachDay: $.noop,
labels: {
"datePickerRole": "date picker",
"nextText": "Next",
"prevText": "Prev",
"weekHeader": "Wk"
},
locale: "en",
max: null,
min: null,
numberOfMonths: 1,
showWeek: false,
value: null,
// callbacks
create: null,
select: null
}
});
} );