code: function getEventAndAnchor (arg1, arg2) {
    var ev = null
    var anchor = null
  
    if (arguments.length === 2) {
      // Two arguments will come in this order
      ev = arg1
      anchor = arg2
    } else if (isHTMLElement(arg1)) {
      // If our first arg is an element
      // then use that as our anchor
      anchor = arg1
    } else {
      // Otherwise our argument is an event
      ev = arg1
    }
  
      // If there is no anchor, but we have an event
      // then use event.target
    if (!anchor && ev && ev.target) {
      anchor = ev.target
    }
  
      // Return an array so that it can be used with Function.apply
    return [ev, anchor]
  }
docs: Take two arguments and return an ordered array of [event, anchor]