This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix event removal for platforms (e.g. old Chrome) that don't have eve…
…nt options.
- Loading branch information
5d9f909
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there. I was wondering about this change. In commit 563e10d you changed this very line to use
nativeEventOptions
rather thanoptionsOrCapture
, but it seems you are now reverting this change. Can you elaborate? :-)optionsOrCapture
may be a dict, and passing it to browsers that don't supportEventListenerOptions
is loosely equal totrue
which forces the call toremoveEventListener
touseCapture