Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libs/bower_components/jquery.scrollTo/jquery.scrollTo.min.js')
-rw-r--r--libs/bower_components/jquery.scrollTo/jquery.scrollTo.min.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/libs/bower_components/jquery.scrollTo/jquery.scrollTo.min.js b/libs/bower_components/jquery.scrollTo/jquery.scrollTo.min.js
deleted file mode 100644
index a1d40fa255..0000000000
--- a/libs/bower_components/jquery.scrollTo/jquery.scrollTo.min.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*!
- * jQuery.scrollTo
- * Copyright (c) 2007-2014 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com
- * Licensed under MIT
- * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
- * @projectDescription Easy element scrolling using jQuery.
- * @author Ariel Flesler
- * @version 1.4.14
- */
-!function(e){"use strict";e(["jquery"],function(e){var t=e.scrollTo=function(t,n,o){return e(window).scrollTo(t,n,o)};function n(t){return e.isFunction(t)||e.isPlainObject(t)?t:{top:t,left:t}}return t.defaults={axis:"xy",duration:0,limit:!0},t.window=function(t){return e(window)._scrollable()},e.fn._scrollable=function(){return this.map(function(){if(!(!this.nodeName||-1!=e.inArray(this.nodeName.toLowerCase(),["iframe","#document","html","body"])))return this;var t=(this.contentWindow||this).document||this.ownerDocument||this;return/webkit/i.test(navigator.userAgent)&&!/chrom/i.test(navigator.userAgent)||"BackCompat"==t.compatMode?t.body:t.documentElement})},e.fn.scrollTo=function(o,i,r){return"object"==typeof i&&(r=i,i=0),"function"==typeof r&&(r={onAfter:r}),"max"==o&&(o=9e9),r=e.extend({},t.defaults,r),i=i||r.duration,r.queue=r.queue&&r.axis.length>1,r.queue&&(i/=2),r.offset=n(r.offset),r.over=n(r.over),this._scrollable().each(function(){if(null!=o){var s,u=this,a=e(u),f=o,c={},l=a.is("html,body");switch(typeof f){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(f)){f=n(f);break}if(!(f=l?e(f):e(f,this)).length)return;case"object":(f.is||f.style)&&(s=(f=e(f)).offset())}var d=e.isFunction(r.offset)&&r.offset(u,f)||r.offset;e.each(r.axis.split(""),function(e,n){var o="x"==n?"Left":"Top",i=o.toLowerCase(),h="scroll"+o,p=u[h],w=t.max(u,n);if(s)c[h]=s[i]+(l?0:p-a.offset()[i]),r.margin&&(c[h]-=parseInt(f.css("margin"+o))||0,c[h]-=parseInt(f.css("border"+o+"Width"))||0),c[h]+=d[i]||0,r.over[i]&&(c[h]+=f["x"==n?"width":"height"]()*r.over[i]);else{var y=f[i];c[h]=y.slice&&"%"==y.slice(-1)?parseFloat(y)/100*w:y}r.limit&&/^\d+$/.test(c[h])&&(c[h]=c[h]<=0?0:Math.min(c[h],w)),!e&&r.queue&&(p!=c[h]&&m(r.onAfterFirst),delete c[h])}),m(r.onAfter)}function m(e){a.animate(c,i,r.easing,e&&function(){e.call(this,f,r)})}}).end()},t.max=function(t,n){var o="x"==n?"Width":"Height",i="scroll"+o;if(!e(t).is("html,body"))return t[i]-e(t)[o.toLowerCase()]();var r="client"+o,s=t.ownerDocument.documentElement,u=t.ownerDocument.body;return Math.max(s[i],u[i])-Math.min(s[r],u[r])},t})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}); \ No newline at end of file