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

Commit ffb624a

Browse files
committed
version 2.1.8
1 parent fd6a3d7 commit ffb624a

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
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.7",
3+
"version": "2.1.8",
44
"description": "A datepicker directive for angularjs.",
55
"authors": [
66
"Filippo Oretti <filippo.oretti@gmail.com",

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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.7",
3+
"version": "2.1.8",
44
"description": "A datepicker directive for angularjs.",
55
"homepage": "http://720kb.github.io/angular-datepicker",
66
"keywords": [

src/js/angular-datepicker.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
$scope.monthNumber = Number($filter('date')(new Date($scope.dateMinLimit), 'MM'));
175175
$scope.day = Number($filter('date')(new Date($scope.dateMinLimit), 'dd'));
176176
$scope.year = Number($filter('date')(new Date($scope.dateMinLimit), 'yyyy'));
177-
177+
178178
setDaysInMonth($scope.monthNumber, $scope.year);
179179
}
180180
, resetToMaxDate = function resetToMaxDate() {
@@ -382,17 +382,17 @@
382382
}
383383
})
384384
, unregisterDateMinLimitWatcher = $scope.$watch('dateMinLimit', function dateMinLimitWatcher(newValue){
385-
if(newValue){
385+
if (newValue) {
386386
resetToMinDate();
387387
}
388388
})
389389
, unregisterDateMaxLimitWatcher = $scope.$watch('dateMaxLimit', function dateMaxLimitWatcher(newValue){
390-
if(newValue){
390+
if (newValue) {
391391
resetToMaxDate();
392392
}
393393
})
394394
, unregisterDateFormatWatcher = $scope.$watch('dateFormat', function dateFormatWatcher(newValue){
395-
if(newValue){
395+
if (newValue) {
396396
setInputValue();
397397
}
398398
});
@@ -505,7 +505,7 @@
505505
$scope.monthNumber = Number($filter('date')(new Date(selectedMonthNumber + '/01/2000'), 'MM'));
506506
setDaysInMonth($scope.monthNumber, $scope.year);
507507
setInputValue();
508-
};
508+
};
509509

510510
$scope.setNewYear = function setNewYear(year) {
511511

0 commit comments

Comments
 (0)