Skip to content

Commit

Permalink
added VERSION to prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
t1m0n committed Aug 11, 2016
1 parent d4e0668 commit ea1806c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion dist/js/datepicker.js
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -138,6 +140,7 @@
datepicker = Datepicker;

datepicker.prototype = {
VERSION: VERSION,
viewIndexes: ['days', 'months', 'years'],

init: function () {
Expand Down
Loading

0 comments on commit ea1806c

Please sign in to comment.