I want to know if it is possible to remove an event listener without a reference to the event handler function that should be removed.
Jquery's $().unbind('touchmove')
will not work because the event listener was added using Javascript's addEventListener('touchmove', handlerFunction)
, not Jquery's bind
function.
removeEventListener('touchmove')
does not seem to work, which is consistent with the Javascript function spec.