- From: Rick Byers <notifications@github.com>
- Date: Thu, 17 Dec 2015 07:44:08 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 17 December 2015 15:44:36 UTC
> method, when invoked, must run these steps: > > <ol> > <li><p>If <var>callback</var> is null, terminate these steps. > > + <li>If <var>options</var> is of type boolean, let <var>capture</var> be > + <var>options</var> and let <var>passive</var> be false. Otherwise let > + <var>capture</var> and <var>passive</var> be the corresponding values in the > + <var>options</var> {{EventListenerOptions}} dictionary. Ok, fair enough. How's [this](https://github.com/RByers/dom/commit/3de3245316a84943b737a7db77a6d305a98b0ba8)? Also my developer confusion argument is probably academic because any reasonable developer should assume that boolean options default to false anyway :-) --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/82/files#r47920504
Received on Thursday, 17 December 2015 15:44:36 UTC