Skip to content

Commit 0f09166

Browse files
committed
Fix lint errors.
1 parent 055ba14 commit 0f09166

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

Gruntfile.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ module.exports = function(grunt) {
2121
}
2222
},
2323
connect: {
24-
server: {
25-
options: {
26-
hostname: '*',
27-
keepalive: true,
28-
middleware: function(connect, options) {
29-
return [
30-
connect.static(options.base),
31-
connect.directory(options.base)
32-
];
33-
}
24+
server: {
25+
options: {
26+
hostname: '*',
27+
keepalive: true,
28+
middleware: function(connect, options) {
29+
return [
30+
connect.static(options.base),
31+
connect.directory(options.base)
32+
];
33+
}
34+
}
3435
}
35-
}
3636
}
3737
});
3838

jquery.mousewheel.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@
9393

9494
// New school wheel delta (wheel event)
9595
if ( 'deltaY' in orgEvent ) {
96-
deltaY = orgEvent.deltaY * -1;
97-
delta = deltaY;
96+
deltaY = orgEvent.deltaY * -1;
97+
delta = deltaY;
9898
}
9999
if ( 'deltaX' in orgEvent ) {
100-
deltaX = orgEvent.deltaX;
101-
if ( deltaY === 0 ) { delta = deltaX * -1; }
100+
deltaX = orgEvent.deltaX;
101+
if ( deltaY === 0 ) { delta = deltaX * -1; }
102102
}
103103

104104
// No change actually happened, no reason to go any further
@@ -107,7 +107,7 @@
107107
// Store lowest absolute delta to normalize the delta values
108108
absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) );
109109
if ( !lowestDelta || absDelta < lowestDelta ) {
110-
lowestDelta = absDelta;
110+
lowestDelta = absDelta;
111111
}
112112

113113
// Get a whole, normalized value for the deltas
@@ -134,7 +134,7 @@
134134
}
135135

136136
function nullLowestDelta() {
137-
lowestDelta = null;
137+
lowestDelta = null;
138138
}
139139

140140
}));

0 commit comments

Comments
 (0)