code: function TouchEmulator() {
    fakeTouchSupport();
  
    window.addEventListener('mousedown', onMouse('touchstart'), true);
    window.addEventListener('mousemove', onMouse('touchmove'), true);
    window.addEventListener('mouseup', onMouse('touchend'), true);
  }
docs: TouchEmulator initializer