vendor/assets/javascripts/foundation/foundation.slider.js in foundation-rails-5.2.2.0 vs vendor/assets/javascripts/foundation/foundation.slider.js in foundation-rails-5.2.3.0

- old
+ new

@@ -2,11 +2,11 @@ 'use strict'; Foundation.libs.slider = { name : 'slider', - version : '5.2.2', + version : '5.2.3', settings: { start: 0, end: 100, step: 1, @@ -121,11 +121,10 @@ return (val - start)/(end - start); }, normalized_value : function(val, start, end, step) { var range = end - start, - step = step, point = val*range, mod = (point-(point%step)) / step, rem = point % step, round = ( rem >= step*0.5 ? step : 0); return (mod*step + round) + start; @@ -195,6 +194,6 @@ }); } }; -}(jQuery, this, this.document)); +}(jQuery, window, window.document));