Skip to content

Commit 12b53a4

Browse files
committed
date-enabled-dates empty attribute now disabling all dates if no array of dates is passed through, thanks to @jpchavat 720kb#278
1 parent 7c785ce commit 12b53a4

5 files changed

+7
-8
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-datepicker",
3-
"version": "2.1.22",
3+
"version": "2.1.23",
44
"description": "A datepicker directive for angularjs.",
55
"authors": [
66
"Filippo Oretti <filippo.oretti@gmail.com",

dist/angular-datepicker.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,7 @@
809809
}
810810
}
811811

812-
if (dateEnabledDates &&
813-
dateEnabledDates.length > 0) {
812+
if (dateEnabledDates) {
814813

815814
for (i; i <= dateEnabledDates.length; i += 1) {
816815

dist/angular-datepicker.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-datepicker.sourcemap.map

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularjs-datepicker",
3-
"version": "2.1.22",
3+
"version": "2.1.23",
44
"description": "A datepicker directive for angularjs.",
55
"homepage": "http://720kb.github.io/angular-datepicker",
66
"keywords": [

0 commit comments

Comments
 (0)