Index: tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
diff --git a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
index d6213e4ffd94599c213ef685fc34dcb50ef90aed..324a49fd19420a3e6d0f421b8f6900e110356aad 100644 |
--- a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
+++ b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
@@ -3,7 +3,8 @@ |
// BSD-style license that can be found in the LICENSE file. |
-/// @domName KeyboardEvent; @docsEditable true |
+/// @docsEditable true |
+@DomName("KeyboardEvent") |
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
factory $CLASSNAME(String type, Window view, |
@@ -17,7 +18,7 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
return e; |
} |
- /** @domName KeyboardEvent.initKeyboardEvent */ |
+ @DomName("KeyboardEvent.initKeyboardEvent") |
void $dom_initKeyboardEvent(String type, bool canBubble, bool cancelable, |
Window view, String keyIdentifier, int keyLocation, bool ctrlKey, |
bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) { |
@@ -37,10 +38,10 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
} |
} |
- /** @domName KeyboardEvent.keyCode */ |
+ @DomName("KeyboardEvent.keyCode") |
int get keyCode => $dom_keyCode; |
- /** @domName KeyboardEvent.charCode */ |
+ @DomName("KeyboardEvent.charCode") |
int get charCode => $dom_charCode; |
$!MEMBERS |
} |