version v2.2.0

This commit is contained in:
t1m0n 2016-08-28 16:21:59 +03:00
parent eca97ca219
commit e412c9cffe
7 changed files with 18 additions and 10 deletions

View File

@ -26,6 +26,18 @@ $('.my-datepicker').datepicker([options])
## Change log
### v2.2.0
* added `onlyTimepicker` option
* added `onShow` and `onHide` callbacks
* added `VERSION` field to plugin's prototype
* now for selecting same date in `range` mode, you should set `{toggleSelected: false}`
* fixed `dateFormat` method (fixed wrong month name in Hungarian language)
* fixed second call of `onRenderCallback`
* fixed `_getCell()` throwing exception
* new language:
- `sk` thanks to [RobiNN1](https://github.com/RobiNN1)
### v2.1.0
* added possibility to select single date when `{range: true}`
* added support of 12 hours mode in `altFieldDateFormat`

View File

@ -1,6 +1,6 @@
{
"name": "air-datepicker",
"version": "2.1.0",
"version": "2.2.0",
"authors": [
"t1m0n <t1m0n.tr@gmail.com>"
],

View File

@ -1,7 +1,5 @@
;(function (window, $, undefined) { ;(function () {
//TODO добавить описание метода destroy
// TODO добавить описание onShow onHide
var VERSION = '2.1.0',
var VERSION = '2.2.0',
pluginName = 'datepicker',
autoInitSelector = '.datepicker-here',
$body, $datepickersContainer,

File diff suppressed because one or more lines are too long

View File

@ -9,4 +9,4 @@
dateFormat: 'dd.mm.yyyy',
timeFormat: 'hh:ii',
firstDay: 1
}; })(jQuery);
}; })(jQuery);

View File

@ -1,6 +1,6 @@
{
"name": "air-datepicker",
"version": "2.1.0",
"version": "2.2.0",
"devDependencies": {
"autoprefixer": "^6.1.0",
"browserify": "^13.0.0",

View File

@ -1,7 +1,5 @@
;(function () {
//TODO добавить описание метода destroy
// TODO добавить описание onShow onHide
var VERSION = '2.1.0',
var VERSION = '2.2.0',
pluginName = 'datepicker',
autoInitSelector = '.datepicker-here',
$body, $datepickersContainer,