| Index: tools/dom/templates/html/impl/impl_EventTarget.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_EventTarget.darttemplate b/tools/dom/templates/html/impl/impl_EventTarget.darttemplate
|
| index a6c438395381cbc66ab31f2b6a7b54640109e97b..aa32ca2b2beb91319a3a1b1794a582c65d313df7 100644
|
| --- a/tools/dom/templates/html/impl/impl_EventTarget.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_EventTarget.darttemplate
|
| @@ -10,7 +10,7 @@ part of html;
|
| * Events can either be accessed by string name (using the indexed getter) or by
|
| * getters exposed by subclasses. Use the getters exposed by subclasses when
|
| * possible for better compile-time type checks.
|
| - *
|
| + *
|
| * Using an indexed getter:
|
| * events['mouseover'].add((e) => print("Mouse over!"));
|
| *
|
| @@ -64,7 +64,7 @@ class EventListenerList {
|
| _ptr.$dom_removeEventListener(_type, listener, useCapture);
|
| }
|
| }
|
| -$ANNOTATIONS
|
| +
|
| /**
|
| * Base class for all browser objects that support events.
|
| *
|
| @@ -72,8 +72,8 @@ $ANNOTATIONS
|
| * [$dom_addEventListener], [$dom_dispatchEvent], and
|
| * [$dom_removeEventListener]) for compile-time type checks and a more concise
|
| * API.
|
| - */
|
| -class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| + */
|
| +$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
|
|
| @DomName('EventTarget.addEventListener, EventTarget.removeEventListener, EventTarget.dispatchEvent')
|
| Events get on => new Events(this);
|
|
|