| 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 bbd6aeb7df7f3c992139b161ff93ba49f7be6147..0cea80315ffda61971fa7536c137e6a7c0254de8 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate
|
| +++ b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate
|
| @@ -14,15 +14,15 @@
|
| */
|
| $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
|
|
|
| - /**
|
| - * Programmatically create a KeyboardEvent.
|
| + /**
|
| + * Programmatically create a KeyboardEvent.
|
| *
|
| * Due to browser differences, keyCode, charCode, or keyIdentifier values
|
| * cannot be specified in this base level constructor. This constructor
|
| * enables the user to programmatically create and dispatch a [KeyboardEvent],
|
| * but it will not contain any particular key content. For programmatically
|
| * creating keyboard events with specific key value contents, see the custom
|
| - * Event [KeyEvent].
|
| + * Event [KeyEvent].
|
| */
|
| factory $CLASSNAME(String type,
|
| {Window view, bool canBubble: true, bool cancelable: true,
|
| @@ -31,7 +31,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
|
| if (view == null) {
|
| view = window;
|
| }
|
| - final e = document._createEvent("KeyboardEvent");
|
| + KeyboardEvent e = document._createEvent("KeyboardEvent");
|
| e._initKeyboardEvent(type, canBubble, cancelable, view, "",
|
| keyLocation, ctrlKey, altKey, shiftKey, metaKey);
|
| return e;
|
|
|