jquery-ui/tests/unit/datepicker/common.js
Felix Nagel 8732ff7a8c Datepicker: Use Globalize 1.0.0
- Fix merge conflict in value method
- Fix common unit tests
- Fix calendar localization tests
- Fix rebase regression: labels update on refresh
- Add new pass through options
- lint fixes
2015-07-29 00:04:22 +02:00

33 lines
524 B
JavaScript

TestHelpers.commonWidgetTests( "datepicker", {
defaults: {
appendTo: null,
buttons: [],
disabled: false,
eachDay: $.noop,
labels: {
"datePickerRole": "date picker",
"nextText": "Next",
"prevText": "Prev",
"weekHeader": "Wk"
},
locale: "en",
max: null,
min: null,
numberOfMonths: 1,
position: {
my: "left top",
at: "left bottom"
},
show: true,
showWeek: false,
hide: true,
// callbacks
beforeOpen: null,
close: null,
create: null,
open: null,
select: null
}
});