diff --git a/bin/javascripts/jquery.nanoscroller.js b/bin/javascripts/jquery.nanoscroller.js index f2af031..bdc3f1c 100644 --- a/bin/javascripts/jquery.nanoscroller.js +++ b/bin/javascripts/jquery.nanoscroller.js @@ -3,7 +3,7 @@ * Copyright (c) 2013 James Florentino; Licensed MIT */ (function($, window, document) { "use strict"; - var BROWSER_IS_IE7, BROWSER_SCROLLBAR_WIDTH, DOMSCROLL, DOWN, DRAG, KEYDOWN, KEYUP, MOUSEDOWN, MOUSEMOVE, MOUSEUP, MOUSEWHEEL, NanoScroll, PANEDOWN, RESIZE, SCROLL, SCROLLBAR, TOUCHMOVE, UP, WHEEL, defaults, getBrowserScrollbarWidth, isFFWithBuggyScrollbar; + var BROWSER_IS_IE7, BROWSER_SCROLLBAR_WIDTH, DOMSCROLL, DOWN, DRAG, KEYDOWN, KEYUP, MOUSEDOWN, MOUSEMOVE, MOUSEUP, MOUSEWHEEL, NanoScroll, PANEDOWN, RESIZE, SCROLL, SCROLLBAR, TOUCHMOVE, UP, WHEEL, defaults, getBrowserScrollbarWidth, hasTransform, isFFWithBuggyScrollbar, rAF, transform, _elementStyle, _prefixStyle, _vendor; defaults = { /** a classname for the pane element. @@ -262,6 +262,31 @@ */ BROWSER_SCROLLBAR_WIDTH = null; + rAF = window.requestAnimationFrame; + _elementStyle = document.createElement('div').style; + _vendor = (function() { + var i, transform, vendor, vendors, _i, _len; + vendors = ['t', 'webkitT', 'MozT', 'msT', 'OT']; + for (i = _i = 0, _len = vendors.length; _i < _len; i = ++_i) { + vendor = vendors[i]; + transform = vendors[i] + 'ransform'; + if (transform in _elementStyle) { + return vendors[i].substr(0, vendors[i].length - 1); + } + } + return false; + })(); + _prefixStyle = function(style) { + if (_vendor === false) { + return false; + } + if (_vendor === '') { + return style; + } + return _vendor + style.charAt(0).toUpperCase() + style.substr(1); + }; + transform = _prefixStyle('transform'); + hasTransform = transform !== false; /** Returns browser's native scrollbar width @method getBrowserScrollbarWidth @@ -427,15 +452,28 @@ return false; }, scroll: function(e) { + var cssValue; if (_this.isBeingDragged) { return; } _this.updateScrollValues(); if (!_this.iOSNativeScrolling) { _this.sliderY = _this.sliderTop; - _this.slider.css({ - top: _this.sliderTop - }); + if (hasTransform) { + cssValue = {}; + cssValue[transform] = "translate(0, " + _this.sliderTop + "px)"; + } else { + cssValue = { + top: _this.sliderTop + }; + } + if (rAF) { + window.requestAnimationFrame(function() { + _this.slider.css(cssValue); + }); + } else { + _this.slider.css(cssValue); + } } if (e == null) { return; diff --git a/bin/javascripts/jquery.nanoscroller.js.map b/bin/javascripts/jquery.nanoscroller.js.map index 9c5bb39..f2c81a5 100644 --- a/bin/javascripts/jquery.nanoscroller.js.map +++ b/bin/javascripts/jquery.nanoscroller.js.map @@ -6,5 +6,5 @@ "jquery.nanoscroller.coffee" ], "names": [], - "mappings": "AAKA,CAAC,CAAI,CAAJ,GAAA,EAAA,CAAC;CACA,CAAA,UAAA;CAAA,KAAA,sPAAA;CAAA,CAIA,CACE,KADF;CACE;;;;;;CAAA;CAAA,CAMW,EAAX,EANA,GAMA;CAEA;;;;;;CARA;CAAA,CAca,EAAb,IAdA,GAcA;CAEA;;;;;;CAhBA;CAAA,CAsBc,EAAd,KAtBA,GAsBA;CAEA;;;;;;CAxBA;CAAA,CA8BoB,EAApB,CA9BA,aA8BA;CAEA;;;;;;;CAhCA;CAAA,CAuCsB,EAAtB,CAvCA,eAuCA;CAEA;;;;;;CAzCA;CAAA,CA+Ce,EAAf,CA/CA,QA+CA;CAEA;;;;;;CAjDA;CAAA,CAuDe,EAAf,CAvDA,QAuDA;CAEA;;;;;;CAzDA;CAAA,CA+DY,EAAZ,MAAA;CAEA;;;;;;CAjEA;CAAA,CAuEiB,EAAjB,WAAA;CAEA;;;;;;CAzEA;CAAA,CA+EiB,EAAjB,WAAA;CAEA;;;;;;CAjFA;CAAA,CAuFiB,EAAjB,WAAA;CAEA;;;;;;CAzFA;CAAA,CA+Fe,EAAf,SAAA;CApGF,GAAA;CAwGA;;;;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ASA,GAA6B,CAA7B,GAAA;CAAA,IAAO,IAAY,QAAT;UAVZ;QALA;CAiBa,IAAb,IAAY,IAAT;CAlBL,IAAM;CApuBR,EAmuBoB;CAnuBpB,CAwvBA,CAAgC,OAxvBhC,CAwvBA,CAAiB;CAzvBlB,CA4vBS,IA5vBV,EAAA" } \ No newline at end of file diff --git a/bin/javascripts/jquery.nanoscroller.min.js b/bin/javascripts/jquery.nanoscroller.min.js index f39069a..1570d98 100644 --- a/bin/javascripts/jquery.nanoscroller.min.js +++ b/bin/javascripts/jquery.nanoscroller.min.js @@ -1,3 +1,3 @@ /*! nanoScrollerJS - v0.7.4 - (c) 2013 James Florentino; Licensed MIT */ -!function(a,b,c){"use strict";var d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;w={paneClass:"pane",sliderClass:"slider",contentClass:"content",iOSNativeScrolling:!1,preventPageScrolling:!1,disableResize:!1,alwaysVisible:!1,flashDelay:1500,sliderMinHeight:20,sliderMaxHeight:null,documentContext:null,windowContext:null},s="scrollbar",r="scroll",k="mousedown",l="mousemove",n="mousewheel",m="mouseup",q="resize",h="drag",u="up",p="panedown",f="DOMMouseScroll",g="down",v="wheel",i="keydown",j="keyup",t="touchmove",d="Microsoft Internet Explorer"===b.navigator.appName&&/msie 7./i.test(b.navigator.appVersion)&&b.ActiveXObject,e=null,x=function(){var a,b,d;return a=c.createElement("div"),b=a.style,b.position="absolute",b.width="100px",b.height="100px",b.overflow=r,b.top="-9999px",c.body.appendChild(a),d=a.offsetWidth-a.clientWidth,c.body.removeChild(a),d},y=function(){var a,c,d;return c=b.navigator.userAgent,a=/(?=.+Mac OS X)(?=.+Firefox)/.test(c),d=/Firefox\/\d{2}\./.exec(c),d&&(d=d[0].replace(/\D+/g,"")),a&&+d>23},o=function(){function i(d,f){this.el=d,this.options=f,e||(e=x()),this.$el=a(this.el),this.doc=a(this.options.documentContext||c),this.win=a(this.options.windowContext||b),this.$content=this.$el.children("."+f.contentClass),this.$content.attr("tabindex",this.options.tabIndex||0),this.content=this.$content[0],this.options.iOSNativeScrolling&&null!=this.el.style.WebkitOverflowScrolling?this.nativeScrolling():this.generate(),this.createEvents(),this.addEvents(),this.reset()}return i.prototype.preventScrolling=function(a,b){if(this.isActive)if(a.type===f)(b===g&&a.originalEvent.detail>0||b===u&&a.originalEvent.detail<0)&&a.preventDefault();else if(a.type===n){if(!a.originalEvent||!a.originalEvent.wheelDelta)return;(b===g&&a.originalEvent.wheelDelta<0||b===u&&a.originalEvent.wheelDelta>0)&&a.preventDefault()}},i.prototype.nativeScrolling=function(){this.$content.css({WebkitOverflowScrolling:"touch"}),this.iOSNativeScrolling=!0,this.isActive=!0},i.prototype.updateScrollValues=function(){var a;a=this.content,this.maxScrollTop=a.scrollHeight-a.clientHeight,this.prevScrollTop=this.contentScrollTop||0,this.contentScrollTop=a.scrollTop,this.iOSNativeScrolling||(this.maxSliderTop=this.paneHeight-this.sliderHeight,this.sliderTop=0===this.maxScrollTop?0:this.contentScrollTop*this.maxSliderTop/this.maxScrollTop)},i.prototype.createEvents=function(){var a=this;this.events={down:function(b){return a.isBeingDragged=!0,a.offsetY=b.pageY-a.slider.offset().top,a.pane.addClass("active"),a.doc.bind(l,a.events[h]).bind(m,a.events[u]),!1},drag:function(b){return a.sliderY=b.pageY-a.$el.offset().top-a.offsetY,a.scroll(),a.updateScrollValues(),a.contentScrollTop>=a.maxScrollTop&&a.prevScrollTop!==a.maxScrollTop?a.$el.trigger("scrollend"):0===a.contentScrollTop&&0!==a.prevScrollTop&&a.$el.trigger("scrolltop"),!1},up:function(){return a.isBeingDragged=!1,a.pane.removeClass("active"),a.doc.unbind(l,a.events[h]).unbind(m,a.events[u]),!1},resize:function(){a.reset()},panedown:function(b){return a.sliderY=(b.offsetY||b.originalEvent.layerY)-.5*a.sliderHeight,a.scroll(),a.events.down(b),!1},scroll:function(b){a.isBeingDragged||(a.updateScrollValues(),a.iOSNativeScrolling||(a.sliderY=a.sliderTop,a.slider.css({top:a.sliderTop})),null!=b&&(a.contentScrollTop>=a.maxScrollTop?(a.options.preventPageScrolling&&a.preventScrolling(b,g),a.prevScrollTop!==a.maxScrollTop&&a.$el.trigger("scrollend")):0===a.contentScrollTop&&(a.options.preventPageScrolling&&a.preventScrolling(b,u),0!==a.prevScrollTop&&a.$el.trigger("scrolltop"))))},wheel:function(b){var c;if(null!=b)return c=b.delta||b.wheelDelta||b.originalEvent&&b.originalEvent.wheelDelta||-b.detail||b.originalEvent&&-b.originalEvent.detail,c&&(a.sliderY+=-c/3),a.scroll(),!1}}},i.prototype.addEvents=function(){var a;this.removeEvents(),a=this.events,this.options.disableResize||this.win.bind(q,a[q]),this.iOSNativeScrolling||(this.slider.bind(k,a[g]),this.pane.bind(k,a[p]).bind(""+n+" "+f,a[v])),this.$content.bind(""+r+" "+n+" "+f+" "+t,a[r])},i.prototype.removeEvents=function(){var a;a=this.events,this.win.unbind(q,a[q]),this.iOSNativeScrolling||(this.slider.unbind(),this.pane.unbind()),this.$content.unbind(""+r+" "+n+" "+f+" "+t,a[r])},i.prototype.generate=function(){var a,c,d,f,g,h;return f=this.options,g=f.paneClass,h=f.sliderClass,a=f.contentClass,this.$el.find("."+g).length||this.$el.find("."+h).length||this.$el.append('