Skip to content

Commit 1066ebd

Browse files
author
Constantin
committed
Added hideBarsOnMobile option, clean up
1 parent b092319 commit 1066ebd

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

grunt/.jshintrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"boss": true,
3+
"curly": true,
4+
"eqeqeq": true,
5+
"eqnull": true,
6+
"es3": true,
7+
"expr": true,
8+
"immed": true,
9+
"noarg": true,
10+
"onevar": true,
11+
"quotmark": "single",
12+
"trailing": true,
13+
"undef": true,
14+
"unused": true,
15+
16+
"browser": true,
17+
18+
"globals": {
19+
"_": false,
20+
"Backbone": false,
21+
"jQuery": false,
22+
"wp": false
23+
}
24+
}

grunt/gruntfile.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ module.exports = function(grunt) {
8383

8484
// chech our JS
8585
jshint: {
86+
options : {
87+
jshintrc : '.jshintrc'
88+
},
8689
all: [ '../src/js/jquery.swipebox.js' ]
8790
},
8891

grunt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grunt-swipebox",
3-
"version": "1.2.8",
3+
"version": "1.2.9",
44
"description": "A touchable jQuery lightbox",
55
"devDependencies": {
66
"grunt": "~0.4.2",

0 commit comments

Comments
 (0)