Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 79fe7fb

Browse files
committed
Upgrade grunt-contrib-jshint and latedef config
1 parent 5120afd commit 79fe7fb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

gruntFile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ module.exports = function (grunt) {
2323
options: testConfig('test/test.conf.js')
2424
}
2525
},
26-
jshint:{
26+
jshint: {
2727
files: ['src/**/*.js', 'test/**/*.js', 'demo/**/*.js'],
2828
options: {
2929
curly: true,
3030
eqeqeq: true,
3131
immed: true,
32-
latedef: false,
32+
latedef: 'nofunc',
3333
newcap: true,
3434
noarg: true,
3535
sub: true,

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
"dependencies": {},
1010
"devDependencies": {
1111
"grunt": "~0.4",
12-
"grunt-karma": "0.7.0",
13-
"grunt-contrib-jshint": "~0.2",
12+
"grunt-contrib-jshint": "0.11.2",
1413
"grunt-contrib-uglify": "~0.7",
15-
"matchdep": "~0.1",
14+
"grunt-karma": "0.7.0",
1615
"karma": "~0.10",
16+
"karma-chrome-launcher": "0.1",
1717
"karma-coverage": "~0.1",
18-
"load-grunt-tasks": "~0.2",
18+
"karma-firefox-launcher": "0.1",
1919
"karma-jasmine": "0.1",
20-
"karma-chrome-launcher": "0.1",
21-
"karma-firefox-launcher": "0.1"
20+
"load-grunt-tasks": "~0.2",
21+
"matchdep": "~0.1"
2222
},
2323
"scripts": {
2424
"test": "grunt"

0 commit comments

Comments
 (0)