Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

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 #278
1 parent 7c785ce commit 12b53a4

5 files changed

+7
-8
lines changed

bower.json

+1-1
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

+1-2
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

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-datepicker.sourcemap.map

+1-1
Large diffs are not rendered by default.

package.json

+1-1
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)