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

Commit af3b7f9

Browse files
committed
linting
1 parent c94e8d8 commit af3b7f9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"input"
1313
],
1414
"scripts": {
15-
"precommit": "grunt lint"
15+
"precommit": "grunt lint",
16+
"lint": "grunt lint"
1617
},
1718
"main": "dist/angular-datepicker.min.js",
1819
"repository": {

src/js/angular-datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@
538538

539539
$scope.paginateYears(year);
540540
$scope.showYearsPagination = false;
541-
$timeout(function(){
541+
$timeout(function timeoutForYears() {
542542
$scope.year = Number(year);
543543
setDaysInMonth($scope.monthNumber, $scope.year);
544544
}, 0);

0 commit comments

Comments
 (0)