File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,18 @@ module.exports = function(grunt) {
21
21
}
22
22
} ,
23
23
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
+ }
34
35
}
35
- }
36
36
}
37
37
} ) ;
38
38
Original file line number Diff line number Diff line change 93
93
94
94
// New school wheel delta (wheel event)
95
95
if ( 'deltaY' in orgEvent ) {
96
- deltaY = orgEvent . deltaY * - 1 ;
97
- delta = deltaY ;
96
+ deltaY = orgEvent . deltaY * - 1 ;
97
+ delta = deltaY ;
98
98
}
99
99
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 ; }
102
102
}
103
103
104
104
// No change actually happened, no reason to go any further
107
107
// Store lowest absolute delta to normalize the delta values
108
108
absDelta = Math . max ( Math . abs ( deltaY ) , Math . abs ( deltaX ) ) ;
109
109
if ( ! lowestDelta || absDelta < lowestDelta ) {
110
- lowestDelta = absDelta ;
110
+ lowestDelta = absDelta ;
111
111
}
112
112
113
113
// Get a whole, normalized value for the deltas
134
134
}
135
135
136
136
function nullLowestDelta ( ) {
137
- lowestDelta = null ;
137
+ lowestDelta = null ;
138
138
}
139
139
140
140
} ) ) ;
You can’t perform that action at this time.
0 commit comments