Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
e47eb8f
Adds the Duration option which allows specifying the show/hide
benjamin-albert Sep 30, 2015
918296b
Merge remote-tracking branch 'origin/master'
benjamin-albert Sep 30, 2015
befca8c
Added Animation, ShowAnim and HideAnim options which allows the
benjamin-albert Sep 30, 2015
3a25847
Adds the MonthFormat option which allows specifying the
Oct 1, 2015
f7a9d0b
Makes the default animation options consistent with datepicker +
benjamin-albert Oct 2, 2015
67da55d
Makes perssing enter choose the current month + make escape close
benjamin-albert Oct 2, 2015
fe5d54f
Merge remote-tracking branch 'upstream/master'
benjamin-albert Oct 2, 2015
05e3035
Added documentation for new options + added a VERSION constant +
benjamin-albert Oct 2, 2015
5e880c4
Update README.md
benjamin-albert Oct 2, 2015
beb3ad0
Update README.md
benjamin-albert Oct 2, 2015
0a3079c
Update README.md
benjamin-albert Oct 2, 2015
ddc5ff0
Update README.md
benjamin-albert Oct 2, 2015
0cc0d06
Added since version 2.4 for new options
benjamin-albert Oct 2, 2015
abfb242
Fixed typos in MonthFormat documentation
benjamin-albert Oct 2, 2015
22b40cb
Update README.md
benjamin-albert Oct 2, 2015
2dd5b41
Removed repeated sentence in MonthFormat documentation
benjamin-albert Oct 2, 2015
a3d4f85
Fixed broken GetSelectdYear unit test and added an alternative
benjamin-albert Oct 2, 2015
892ac8d
Fixed broken GetSelectdYear unit test and added an alternative
benjamin-albert Oct 2, 2015
4393ab8
Merge remote-tracking branch 'origin/master'
benjamin-albert Oct 3, 2015
9d3a5fe
Added documenation for Duration option + fixed inccorect setter examples
benjamin-albert Oct 3, 2015
2a4f17a
Allows the user to disable a animations by passing in none
benjamin-albert Oct 3, 2015
8145dc4
Update README.md
benjamin-albert Oct 3, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added documentation for new options + added a VERSION constant +
Makes </script> tags visible in the README.md (I checked it you
now just copy and paste the tags and the plugin will work).
  • Loading branch information
benjamin-albert committed Oct 2, 2015
commit 05e30351590bf5cea5bba1f13f0892a6f1cf654d
7 changes: 7 additions & 0 deletions MonthPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,10 @@ http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.
}
},

/**
* Methods the user can override to use a third party library
* such as http://momentjs.com for parsing and formatting months.
*/
ParseMonth: function (str, format) {
try {
return $datepicker.parseDate('dd' + format, '01' + str);
Expand Down Expand Up @@ -701,4 +705,7 @@ http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt.
this.options.OnAfterPreviousYear.call(this.element);
}
});

// Added in version 2.4.
$.KidSysco.MonthPicker.VERSION = '2.4';
}(jQuery, window, document));
Loading