{I"
class:ETI"BundledAsset; FI"logical_path; TI"!nunify/plugins/datepicker.js; FI"
pathname; TI"[/Users/jahuang/workspace/nunify/vendor/assets/javascripts/nunify/plugins/datepicker.js; FI"content_type; TI"application/javascript; TI"
mtime; Tl+جت2SI"length; TiaI"digest; TI"%74f3397b6f404d844b79e2a34fdbde91; FI"source; TI"avar Datepicker = function () {
return {
//Datepickers
initDatepicker: function () {
// Regular datepicker
$('#date').datepicker({
dateFormat: 'dd.mm.yy',
prevText: '',
nextText: ''
});
// Date range
$('#start').datepicker({
dateFormat: 'dd.mm.yy',
prevText: '',
nextText: '',
onSelect: function( selectedDate )
{
$('#finish').datepicker('option', 'minDate', selectedDate);
}
});
$('#finish').datepicker({
dateFormat: 'dd.mm.yy',
prevText: '',
nextText: '',
onSelect: function( selectedDate )
{
$('#start').datepicker('option', 'maxDate', selectedDate);
}
});
// Inline datepicker
$('#inline').datepicker({
dateFormat: 'dd.mm.yy',
prevText: '',
nextText: ''
});
// Inline date range
$('#inline-start').datepicker({
dateFormat: 'dd.mm.yy',
prevText: '',
nextText: '',
onSelect: function( selectedDate )
{
$('#inline-finish').datepicker('option', 'minDate', selectedDate);
}
});
$('#inline-finish').datepicker({
dateFormat: 'dd.mm.yy',
prevText: '',
nextText: '',
onSelect: function( selectedDate )
{
$('#inline-start').datepicker('option', 'maxDate', selectedDate);
}
});
}
};
}();
; TI"required_assets_digest; TI"%84adfb634e2e79edfb4f42b99d43aae8; FI"
_version; TI"%6584930913c75ff69ba506e1cfbae2c9; F