Re: [whatwg/dom] Editorial: add "add an event listener" hook (#596)

domenic commented on this pull request.



>    <var>options</var>' <code>capture</code> member.
 
-  When set to true, <var>options</var>' <code>capture</code> member prevents <b>callback</b> from
-  being invoked when the <a>event</a>'s {{Event/eventPhase}} attribute value is
-  {{Event/BUBBLING_PHASE}}. When false (or not present), <b>callback</b> will not be invoked when
-  <a>event</a>'s {{Event/eventPhase}} attribute value is {{Event/CAPTURING_PHASE}}. Either way,
-  <b>callback</b> will be invoked if <a>event</a>'s {{Event/eventPhase}} attribute value is
-  {{Event/AT_TARGET}}.
+  <p>When set to true, <var>options</var>' <code>capture</code> member prevents

We've had this discussion before :). `options` is not a class of values; it is a single JS value. So it's not really plural in the grammatical sense that would trigger leaving off the s, where `capture` belongs to a collection of options.

Stated another way, here "options" is short for "options variable", which is not plural.

A case where it would be plural is "the stock options' combined value was a billion dollars."

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/596#discussion_r174357496

Received on Wednesday, 14 March 2018 05:42:38 UTC