MCPcopy Index your code
hub / github.com/hoothin/UserScripts / clientX

Function clientX

Pagetual/pagetual.user.js:12609–12615  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

12607 }
12608
12609 function clientX(e) {
12610 if (e.type.indexOf('touch') === 0) {
12611 return e.changedTouches ? e.changedTouches[0].clientX : 0;
12612 } else {
12613 return e.clientX;
12614 }
12615 }
12616
12617 function clientY(e) {
12618 if (e.type.indexOf('touch') === 0) {

Callers 6

moveFunFunction · 0.85
initEventListenerFunction · 0.85
mouseMoveHandlerMethod · 0.85
mouseDownHandlerMethod · 0.85
moveHanlderMethod · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected