Accidentally removed a note in the last checkin. Fixed.
Sat, 30 Jul 2011 07:38:03 +0900
changeset 330 c4fb4230ae21
parent 329 ec4fb857c96e
child 331 e23d356ef63b
Accidentally removed a note in the last checkin. Fixed.
--- a/html/DOM3-Events.html	Sat Jul 30 07:31:06 2011 +0900
+++ b/html/DOM3-Events.html	Sat Jul 30 07:38:03 2011 +0900
@@ -1125,6 +1125,7 @@
                             <dt><code class="parameter-name">listener</code> of type <a href="#events-EventListener"><code>EventListener</code></a></dt>
                               <p>The <code>listener</code> parameter must be either an object that implements the <a href="#events-EventListener"><code>EventListener</code></a> interface or a function.  If <code>listener</code> is a function then it must be used as the callback for the event; otherwise, if <code>listener</code> implements <a href="#events-EventTarget"><code>EventTarget</code></a>, then its <a href="#events-EventListener-handleEvent">handleEvent</a> method must be used as the callback. If <code>listener</code> is a function that also has a <a href="#events-EventListener-handleEvent">handleEvent</a> method, the function itself must be used as the callback and not its <a href="#events-EventListener-handleEvent">handleEvent</a> method.</p>
+                              <p class="note" id="addEventListener_function"><strong>Note:</strong>  If the <code>listener</code> is a function, then it may be a reference to a function object or an inline function object literal.</p>
                             <dt><a id="addEventListener_useCapture"><code class="parameter-name">useCapture</code></a> of type <code>boolean</code></dt>