lib/EventTarget.js
function(event) {
    return (this._armed !== null &&
        event.type === 'mouseup' &&
        event.isTrusted &&
        event.button === 0 &&
        event.timeStamp - this._armed.t < 1000 &&
        Math.abs(event.clientX - this._armed.x) < 10 &&
        Math.abs(event.clientY - this._armed.Y) < 10);
  }
function(event) {
    return (this._armed !== null &&
        event.type === 'mouseup' &&
        event.isTrusted &&
        event.button === 0 &&
        event.timeStamp - this._armed.t < 1000 &&
        Math.abs(event.clientX - this._armed.x) < 10 &&
        Math.abs(event.clientY - this._armed.Y) < 10);
  }
function ( event ) { return ( this . _armed !== null && event . type === 'mouseup' && event . isTrusted && event . button === 0 && event . timeStamp - this . _armed . t < 1000 && Math . abs ( event . clientX - this . _armed . x ) < 10 && Math . abs ( event . clientY - this . _armed . Y ) < 10 ) ; }
Determine whether a click occurred XXX We don't support double clicks for now
Determine whether a click occurred XXX We don t support double clicks for now