diff --git a/Gruntfile.js b/Gruntfile.js index 5efc43cf9..e7aa49e5c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -21,18 +21,18 @@ module.exports = function(grunt) { } }, connect: { - server: { - options: { - hostname: '*', - keepalive: true, - middleware: function(connect, options) { - return [ - connect.static(options.base), - connect.directory(options.base) - ]; - } + server: { + options: { + hostname: '*', + keepalive: true, + middleware: function(connect, options) { + return [ + connect.static(options.base), + connect.directory(options.base) + ]; + } + } } - } } }); diff --git a/jquery.mousewheel.js b/jquery.mousewheel.js index 021e90319..920f2299c 100755 --- a/jquery.mousewheel.js +++ b/jquery.mousewheel.js @@ -93,12 +93,12 @@ // New school wheel delta (wheel event) if ( 'deltaY' in orgEvent ) { - deltaY = orgEvent.deltaY * -1; - delta = deltaY; + deltaY = orgEvent.deltaY * -1; + delta = deltaY; } if ( 'deltaX' in orgEvent ) { - deltaX = orgEvent.deltaX; - if ( deltaY === 0 ) { delta = deltaX * -1; } + deltaX = orgEvent.deltaX; + if ( deltaY === 0 ) { delta = deltaX * -1; } } // No change actually happened, no reason to go any further @@ -107,7 +107,7 @@ // Store lowest absolute delta to normalize the delta values absDelta = Math.max( Math.abs(deltaY), Math.abs(deltaX) ); if ( !lowestDelta || absDelta < lowestDelta ) { - lowestDelta = absDelta; + lowestDelta = absDelta; } // Get a whole, normalized value for the deltas @@ -134,7 +134,7 @@ } function nullLowestDelta() { - lowestDelta = null; + lowestDelta = null; } }));