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('
'),this.pane=this.$el.children("."+g),this.slider=this.pane.find("."+h),0===e&&y()?(d=b.getComputedStyle(this.content,null).getPropertyValue("padding-right").replace(/\D+/g,""),c={right:-14,paddingRight:+d+14}):e&&(c={right:-e},this.$el.addClass("has-scrollbar")),null!=c&&this.$content.css(c),this},i.prototype.restore=function(){this.stopped=!1,this.pane.show(),this.addEvents()},i.prototype.reset=function(){var a,b,c,f,g,h,i,j,k,l;return this.iOSNativeScrolling?(this.contentHeight=this.content.scrollHeight,void 0):(this.$el.find("."+this.options.paneClass).length||this.generate().stop(),this.stopped&&this.restore(),a=this.content,c=a.style,f=c.overflowY,d&&this.$content.css({height:this.$content.height()}),b=a.scrollHeight+e,k=parseInt(this.$el.css("max-height"),10),k>0&&(this.$el.height(""),this.$el.height(a.scrollHeight>k?k:a.scrollHeight)),h=this.pane.outerHeight(!1),j=parseInt(this.pane.css("top"),10),g=parseInt(this.pane.css("bottom"),10),i=h+j+g,l=Math.round(i/b*i),lthis.options.sliderMaxHeight&&(l=this.options.sliderMaxHeight),f===r&&c.overflowX!==r&&(l+=e),this.maxSliderTop=i-l,this.contentHeight=b,this.paneHeight=h,this.paneOuterHeight=i,this.sliderHeight=l,this.slider.height(l),this.events.scroll(),this.pane.show(),this.isActive=!0,a.scrollHeight===a.clientHeight||this.pane.outerHeight(!0)>=a.scrollHeight&&f!==r?(this.pane.hide(),this.isActive=!1):this.el.clientHeight===a.scrollHeight&&f===r?this.slider.hide():this.slider.show(),this.pane.css({opacity:this.options.alwaysVisible?1:"",visibility:this.options.alwaysVisible?"visible":""}),this)},i.prototype.scroll=function(){return this.isActive?(this.sliderY=Math.max(0,this.sliderY),this.sliderY=Math.min(this.maxSliderTop,this.sliderY),this.$content.scrollTop(-1*((this.paneHeight-this.contentHeight+e)*this.sliderY/this.maxSliderTop)),this.iOSNativeScrolling||this.slider.css({top:this.sliderY}),this):void 0},i.prototype.scrollBottom=function(a){return this.isActive?(this.reset(),this.$content.scrollTop(this.contentHeight-this.$content.height()-a).trigger(n),this):void 0},i.prototype.scrollTop=function(a){return this.isActive?(this.reset(),this.$content.scrollTop(+a).trigger(n),this):void 0},i.prototype.scrollTo=function(b){return this.isActive?(this.reset(),this.scrollTop(a(b).get(0).offsetTop),this):void 0},i.prototype.stop=function(){return this.stopped=!0,this.removeEvents(),this.pane.hide(),this},i.prototype.destroy=function(){return this.stopped||this.stop(),this.pane.length&&this.pane.remove(),d&&this.$content.height(""),this.$content.removeAttr("tabindex"),this.$el.hasClass("has-scrollbar")&&(this.$el.removeClass("has-scrollbar"),this.$content.css({right:""})),this},i.prototype.flash=function(){var a=this;if(this.isActive)return this.reset(),this.pane.addClass("flashed"),setTimeout(function(){a.pane.removeClass("flashed")},this.options.flashDelay),this},i}(),a.fn.nanoScroller=function(b){return this.each(function(){var c,d;if((d=this.nanoscroller)||(c=a.extend({},w,b),this.nanoscroller=d=new o(this,c)),b&&"object"==typeof b){if(a.extend(d.options,b),b.scrollBottom)return d.scrollBottom(b.scrollBottom);if(b.scrollTop)return d.scrollTop(b.scrollTop);if(b.scrollTo)return d.scrollTo(b.scrollTo);if("bottom"===b.scroll)return d.scrollBottom(0);if("top"===b.scroll)return d.scrollTop(0);if(b.scroll&&b.scroll instanceof a)return d.scrollTo(b.scroll);if(b.stop)return d.stop();if(b.destroy)return d.destroy();if(b.flash)return d.flash()}return d.reset()})},a.fn.nanoScroller.Constructor=o}(jQuery,window,document); +!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,z,A,B,C,D,E;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,A=b.requestAnimationFrame,C=c.createElement("div").style,E=function(){var a,b,c,d,e,f;for(d=["t","webkitT","MozT","msT","OT"],a=e=0,f=d.length;f>e;a=++e)if(c=d[a],b=d[a]+"ransform",b in C)return d[a].substr(0,d[a].length-1);return!1}(),D=function(a){return E===!1?!1:""===E?a:E+a.charAt(0).toUpperCase()+a.substr(1)},B=D("transform"),y=B!==!1,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},z=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(c){var d;a.isBeingDragged||(a.updateScrollValues(),a.iOSNativeScrolling||(a.sliderY=a.sliderTop,y?(d={},d[B]="translate(0, "+a.sliderTop+"px)"):d={top:a.sliderTop},A?b.requestAnimationFrame(function(){a.slider.css(d)}):a.slider.css(d)),null!=c&&(a.contentScrollTop>=a.maxScrollTop?(a.options.preventPageScrolling&&a.preventScrolling(c,g),a.prevScrollTop!==a.maxScrollTop&&a.$el.trigger("scrollend")):0===a.contentScrollTop&&(a.options.preventPageScrolling&&a.preventScrolling(c,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('
'),this.pane=this.$el.children("."+g),this.slider=this.pane.find("."+h),0===e&&z()?(d=b.getComputedStyle(this.content,null).getPropertyValue("padding-right").replace(/\D+/g,""),c={right:-14,paddingRight:+d+14}):e&&(c={right:-e},this.$el.addClass("has-scrollbar")),null!=c&&this.$content.css(c),this},i.prototype.restore=function(){this.stopped=!1,this.pane.show(),this.addEvents()},i.prototype.reset=function(){var a,b,c,f,g,h,i,j,k,l;return this.iOSNativeScrolling?(this.contentHeight=this.content.scrollHeight,void 0):(this.$el.find("."+this.options.paneClass).length||this.generate().stop(),this.stopped&&this.restore(),a=this.content,c=a.style,f=c.overflowY,d&&this.$content.css({height:this.$content.height()}),b=a.scrollHeight+e,k=parseInt(this.$el.css("max-height"),10),k>0&&(this.$el.height(""),this.$el.height(a.scrollHeight>k?k:a.scrollHeight)),h=this.pane.outerHeight(!1),j=parseInt(this.pane.css("top"),10),g=parseInt(this.pane.css("bottom"),10),i=h+j+g,l=Math.round(i/b*i),lthis.options.sliderMaxHeight&&(l=this.options.sliderMaxHeight),f===r&&c.overflowX!==r&&(l+=e),this.maxSliderTop=i-l,this.contentHeight=b,this.paneHeight=h,this.paneOuterHeight=i,this.sliderHeight=l,this.slider.height(l),this.events.scroll(),this.pane.show(),this.isActive=!0,a.scrollHeight===a.clientHeight||this.pane.outerHeight(!0)>=a.scrollHeight&&f!==r?(this.pane.hide(),this.isActive=!1):this.el.clientHeight===a.scrollHeight&&f===r?this.slider.hide():this.slider.show(),this.pane.css({opacity:this.options.alwaysVisible?1:"",visibility:this.options.alwaysVisible?"visible":""}),this)},i.prototype.scroll=function(){return this.isActive?(this.sliderY=Math.max(0,this.sliderY),this.sliderY=Math.min(this.maxSliderTop,this.sliderY),this.$content.scrollTop(-1*((this.paneHeight-this.contentHeight+e)*this.sliderY/this.maxSliderTop)),this.iOSNativeScrolling||this.slider.css({top:this.sliderY}),this):void 0},i.prototype.scrollBottom=function(a){return this.isActive?(this.reset(),this.$content.scrollTop(this.contentHeight-this.$content.height()-a).trigger(n),this):void 0},i.prototype.scrollTop=function(a){return this.isActive?(this.reset(),this.$content.scrollTop(+a).trigger(n),this):void 0},i.prototype.scrollTo=function(b){return this.isActive?(this.reset(),this.scrollTop(a(b).get(0).offsetTop),this):void 0},i.prototype.stop=function(){return this.stopped=!0,this.removeEvents(),this.pane.hide(),this},i.prototype.destroy=function(){return this.stopped||this.stop(),this.pane.length&&this.pane.remove(),d&&this.$content.height(""),this.$content.removeAttr("tabindex"),this.$el.hasClass("has-scrollbar")&&(this.$el.removeClass("has-scrollbar"),this.$content.css({right:""})),this},i.prototype.flash=function(){var a=this;if(this.isActive)return this.reset(),this.pane.addClass("flashed"),setTimeout(function(){a.pane.removeClass("flashed")},this.options.flashDelay),this},i}(),a.fn.nanoScroller=function(b){return this.each(function(){var c,d;if((d=this.nanoscroller)||(c=a.extend({},w,b),this.nanoscroller=d=new o(this,c)),b&&"object"==typeof b){if(a.extend(d.options,b),b.scrollBottom)return d.scrollBottom(b.scrollBottom);if(b.scrollTop)return d.scrollTop(b.scrollTop);if(b.scrollTo)return d.scrollTo(b.scrollTo);if("bottom"===b.scroll)return d.scrollBottom(0);if("top"===b.scroll)return d.scrollTop(0);if(b.scroll&&b.scroll instanceof a)return d.scrollTo(b.scroll);if(b.stop)return d.stop();if(b.destroy)return d.destroy();if(b.flash)return d.flash()}return d.reset()})},a.fn.nanoScroller.Constructor=o}(jQuery,window,document); //# sourceMappingURL=jquery.nanoscroller.min.js.map \ No newline at end of file diff --git a/bin/javascripts/jquery.nanoscroller.min.js.map b/bin/javascripts/jquery.nanoscroller.min.js.map index 8a57d57..604ab6a 100644 --- a/bin/javascripts/jquery.nanoscroller.min.js.map +++ b/bin/javascripts/jquery.nanoscroller.min.js.map @@ -1 +1 @@ -{"version":3,"file":"bin/javascripts/jquery.nanoscroller.min.js","sources":["../../coffeescripts/jquery.nanoscroller.coffee"],"names":[],"mappings":"CAME,SAIA,EAAA,EAAA,GACE,YAAA,IAAA,GAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,CAAA,IAQA,UAAA,OAQA,YAAA,S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,EAAA,QAAA,EAAA,iBAAA,GAAmB,MAAT,GAAA,SAAA,EAAA,OACV,IAAA,EAAA,KAAmB,MAAT,GAAA,MACV,IAAA,EAAA,QAAmB,MAAT,GAAA,SAfZ,IAAA,EAAA,MAiBY,MAAT,GAAA,QAEyB,MAAf,GAAA,WArtBnB,EAAA,GAAA,aAAA,YAAA,GAAA,OAAA,OAAA"} \ No newline at end of file +{"version":3,"file":"bin/javascripts/jquery.nanoscroller.min.js","sources":["../../coffeescripts/jquery.nanoscroller.coffee"],"names":[],"mappings":"CAME,SAIA,EAAA,EAAA,GACE,YAAA,IAAA,GAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,CAAA,IAQA,UAAA,OAQA,YAAA,SAQA,aAAA,UAQA,oBAAA,EASA,sBAAA,EAQA,eAAA,EAQA,eAAA,EAQA,WAAA,KAQA,gBAAA,GAQA,gBAAA,KAQA,gBAAA,KAUF,cAAA,MASA,EAAA,YASA,EAAA,SAQA,EAAA,YASA,EAAA,YAQA,EAAA,aASA,EAAA,UAQA,EAAA,SASA,EAAA,OASA,EAAA,KASA,EAAA,WASA,EAAA,iBASA,EAAA,OASA,EAAA,QASA,EAAA,UASA,EAAA,QASA,EAAA,YASA,EAAA,gCAAA,EAAA,UAAA,SAAA,WAAA,KAAA,EAAA,UAAA,aAAA,EAAA,cAeA,EAAa,KACX,EAAA,EAAA,sBAAgB,EAAN,EAAA,cAAA,OAAA,MACV,EAAA,WAAA,GAAA,GAAA,EAAA,EAAA,EAAA,EAAA,CAEK,KADS,GAAZ,IAAA,UAAA,OAAA,MAAA,MACG,EAAH,EAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,IAAA,EAHF,GAIW,EAAA,EAAA,GAAA,EAHX,EAAA,GAAA,WADA,IAAA,GAKA,MAAO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,OACV,IAAA,EAAA,KAAmB,MAAT,GAAA,MACV,IAAA,EAAA,QAAmB,MAAT,GAAA,SAfZ,IAAA,EAAA,MAiBY,MAAT,GAAA,QAEyB,MAAf,GAAA,WAzvBnB,EAAA,GAAA,aAAA,YAAA,GAAA,OAAA,OAAA"} \ No newline at end of file diff --git a/coffeescripts/jquery.nanoscroller.coffee b/coffeescripts/jquery.nanoscroller.coffee index 0d7681e..d0262e2 100644 --- a/coffeescripts/jquery.nanoscroller.coffee +++ b/coffeescripts/jquery.nanoscroller.coffee @@ -267,6 +267,29 @@ ### BROWSER_SCROLLBAR_WIDTH = null + rAF = window.requestAnimationFrame + + # this transform stuff is from iScroll. + # all credit goes to @cubiq + _elementStyle = document.createElement('div').style + + _vendor = do -> + vendors = ['t', 'webkitT', 'MozT', 'msT', 'OT'] + for vendor, i in vendors + transform = vendors[i] + 'ransform'; + if transform of _elementStyle + return vendors[i].substr(0, vendors[i].length - 1) + return false + + _prefixStyle = (style) -> + return false if _vendor is false + return style if _vendor is '' + return _vendor + style.charAt(0).toUpperCase() + style.substr(1) + + transform = _prefixStyle('transform') + + hasTransform = transform isnt false + ###* Returns browser's native scrollbar width @method getBrowserScrollbarWidth @@ -419,7 +442,20 @@ if not @iOSNativeScrolling # update the slider position @sliderY = @sliderTop - @slider.css top: @sliderTop + + if hasTransform + cssValue = {} + cssValue[transform] = "translate(0, #{@sliderTop}px)" + else + cssValue = top: @sliderTop + + if rAF + window.requestAnimationFrame => + @slider.css cssValue + return + else + @slider.css cssValue + # the succeeding code should be ignored if @events.scroll() wasn't # invoked by a DOM event. (refer to @reset) return unless e?