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) {
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
Original file line number Diff line number Diff line change 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
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
134134 }
135135
136136 function nullLowestDelta ( ) {
137- lowestDelta = null ;
137+ lowestDelta = null ;
138138 }
139139
140140} ) ) ;
You can’t perform that action at this time.
0 commit comments