Sindbad~EG File Manager

Current Path : /var/www/quickscrum.com/wp-content/plugins/wp-featherlight/js/vendor/
Upload File :
Current File : /var/www/quickscrum.com/wp-content/plugins/wp-featherlight/js/vendor/jquery.detect_swipe.min.js

!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(h){var c,r,d=!(h.detectSwipe={version:"2.1.2",enabled:"ontouchstart"in document.documentElement,preventDefault:!0,threshold:20});function p(){this.removeEventListener("touchmove",t),this.removeEventListener("touchend",p),d=!1}function t(e){if(h.detectSwipe.preventDefault&&e.preventDefault(),d){var t,n=e.touches[0].pageX,i=e.touches[0].pageY,o=c-n,s=r-i,u=window.devicePixelRatio||1;Math.abs(o)*u>=h.detectSwipe.threshold?t=0<o?"left":"right":Math.abs(s)*u>=h.detectSwipe.threshold&&(t=0<s?"up":"down"),t&&(p.call(this),h(this).trigger("swipe",t).trigger("swipe"+t))}}function e(e){1==e.touches.length&&(c=e.touches[0].pageX,r=e.touches[0].pageY,d=!0,this.addEventListener("touchmove",t,!1),this.addEventListener("touchend",p,!1))}h.event.special.swipe={setup:function(){this.addEventListener&&this.addEventListener("touchstart",e,!1)}},h.each(["left","up","down","right"],function(){h.event.special["swipe"+this]={setup:function(){h(this).on("swipe",h.noop)}}})});

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists