added VERSION to prototype

This commit is contained in:
t1m0n 2016-08-11 12:18:05 +03:00
parent d4e066866a
commit ea1806c4ce
3 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,7 @@
;(function (window, $, undefined) { ;(function () {
var pluginName = 'datepicker',
//TODO добавить описание метода destroy
var VERSION = '2.1.0',
pluginName = 'datepicker',
autoInitSelector = '.datepicker-here',
$body, $datepickersContainer,
containerBuilt = false,
@ -138,6 +140,7 @@
datepicker = Datepicker;
datepicker.prototype = {
VERSION: VERSION,
viewIndexes: ['days', 'months', 'years'],
init: function () {

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,7 @@
;(function () {
var pluginName = 'datepicker',
//TODO добавить описание метода destroy
var VERSION = '2.1.0',
pluginName = 'datepicker',
autoInitSelector = '.datepicker-here',
$body, $datepickersContainer,
containerBuilt = false,
@ -138,6 +140,7 @@
datepicker = Datepicker;
datepicker.prototype = {
VERSION: VERSION,
viewIndexes: ['days', 'months', 'years'],
init: function () {