jquery-ui/tests/unit/calendar/common.js

40 lines
736 B
JavaScript
Raw Normal View History

define( [
"lib/common",
2015-08-20 13:48:11 +00:00
"ui/widgets/calendar",
"globalize-locales"
], function( common ) {
common.testWidget( "calendar", {
defaults: {
2014-06-19 22:13:20 +00:00
buttons: [],
classes: {
"ui-calendar": "ui-corner-all",
"ui-calendar-header-first": "ui-corner-left",
"ui-calendar-header-last": "ui-corner-right",
"ui-calendar-prev": "ui-corner-all",
"ui-calendar-next": "ui-corner-all"
},
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
}
} );
} );