MCPcopy Index your code
hub / github.com/Phlow/feeling-responsive / n

Function n

assets/js/javascript.min.js:15–15  ·  view source on GitHub ↗
(e,t)

Source from the content-addressed store, hash-verified

13 */
14function FastClick(e,t){"use strict"
15function n(e,t){return function(){return e.apply(t,arguments)}}var i
16if(t=t||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=t.touchBoundary||10,this.layer=e,this.tapDelay=t.tapDelay||200,!FastClick.notNeeded(e)){for(var r=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],o=this,s=0,a=r.length;a>s;s++)o[r[s]]=n(o[r[s]],o)
17deviceIsAndroid&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,i){var r=Node.prototype.removeEventListener
18"click"===t?r.call(e,t,n.hijacked||n,i):r.call(e,t,n,i)},e.addEventListener=function(t,n,i){var r=Node.prototype.addEventListener

Callers 5

FastClickFunction · 0.70
javascript.min.jsFile · 0.70
mFunction · 0.70
vFunction · 0.70
uFunction · 0.70

Calls 4

WFunction · 0.85
IFunction · 0.70
tFunction · 0.70
sFunction · 0.70

Tested by

no test coverage detected