Skip to content

Commit 93347fd

Browse files
committed
Refactor: Codes with using jshint (without: eqnull, loopfunc)
1 parent 3ea6a27 commit 93347fd

File tree

2 files changed

+82
-69
lines changed

2 files changed

+82
-69
lines changed

Gruntfile.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@ module.exports = function(grunt) {
66
files: ['t/test.html']
77
},
88
jshint: {
9-
main: {
10-
src: ['jquery.simple-dtpicker.js']
9+
default: {
10+
src: ['jquery.simple-dtpicker.js'],
11+
options: {
12+
eqnull: true,
13+
loopfunc: true,
14+
},
15+
predef: [
16+
'eqnull', 'eqeqeq'
17+
]
1118
}
1219
},
1320
jquerymanifest: {

0 commit comments

Comments
 (0)