Skip to content

Instantly share code, notes, and snippets.

View troq's full-sized avatar

Tieshun Roquerre troq

View GitHub Profile

Keybase proof

I hereby claim:

  • I am troq on github.
  • I am tieshun (https://keybase.io/tieshun) on keybase.
  • I have a public key ASCr9PwsEecY79ZcaKLo-w6_YTH1LGq11jKxi08bfaAvsQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am troq on github.
  • I am tieshun (https://keybase.io/tieshun) on keybase.
  • I have a public key ASCr9PwsEecY79ZcaKLo-w6_YTH1LGq11jKxi08bfaAvsQo

To claim this, I am signing this object:

setTimeout(function() {
document.onmousemove = handleMouseMove;
function handleMouseMove(event) {
var dot, eventDoc, doc, body, pageX, pageY;
event = event || window.event; // IE-ism
// If pageX/Y aren't available and clientX/Y are,
// calculate pageX/Y - logic taken from jQuery.
// (This is to support old IE)