mirror of
https://github.com/frappe/air-datepicker.git
synced 2026-01-14 11:01:22 +08:00
added VERSION to prototype
This commit is contained in:
parent
d4e066866a
commit
ea1806c4ce
5
dist/js/datepicker.js
vendored
5
dist/js/datepicker.js
vendored
@ -1,5 +1,7 @@
|
|||||||
;(function (window, $, undefined) { ;(function () {
|
;(function (window, $, undefined) { ;(function () {
|
||||||
var pluginName = 'datepicker',
|
//TODO добавить описание метода destroy
|
||||||
|
var VERSION = '2.1.0',
|
||||||
|
pluginName = 'datepicker',
|
||||||
autoInitSelector = '.datepicker-here',
|
autoInitSelector = '.datepicker-here',
|
||||||
$body, $datepickersContainer,
|
$body, $datepickersContainer,
|
||||||
containerBuilt = false,
|
containerBuilt = false,
|
||||||
@ -138,6 +140,7 @@
|
|||||||
datepicker = Datepicker;
|
datepicker = Datepicker;
|
||||||
|
|
||||||
datepicker.prototype = {
|
datepicker.prototype = {
|
||||||
|
VERSION: VERSION,
|
||||||
viewIndexes: ['days', 'months', 'years'],
|
viewIndexes: ['days', 'months', 'years'],
|
||||||
|
|
||||||
init: function () {
|
init: function () {
|
||||||
|
|||||||
4
dist/js/datepicker.min.js
vendored
4
dist/js/datepicker.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,5 +1,7 @@
|
|||||||
;(function () {
|
;(function () {
|
||||||
var pluginName = 'datepicker',
|
//TODO добавить описание метода destroy
|
||||||
|
var VERSION = '2.1.0',
|
||||||
|
pluginName = 'datepicker',
|
||||||
autoInitSelector = '.datepicker-here',
|
autoInitSelector = '.datepicker-here',
|
||||||
$body, $datepickersContainer,
|
$body, $datepickersContainer,
|
||||||
containerBuilt = false,
|
containerBuilt = false,
|
||||||
@ -138,6 +140,7 @@
|
|||||||
datepicker = Datepicker;
|
datepicker = Datepicker;
|
||||||
|
|
||||||
datepicker.prototype = {
|
datepicker.prototype = {
|
||||||
|
VERSION: VERSION,
|
||||||
viewIndexes: ['days', 'months', 'years'],
|
viewIndexes: ['days', 'months', 'years'],
|
||||||
|
|
||||||
init: function () {
|
init: function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user