| Index: tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate b/tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate
|
| similarity index 66%
|
| copy from tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| copy to tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate
|
| index 4ca86263640d14ae4b4cedfeffc4daa3f40a2f6d..b40c7beca799b3844f5f81b7ab8fc3fbaedda85b 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLOptionElement.darttemplate
|
| @@ -5,9 +5,9 @@
|
| part of $LIBRARYNAME;
|
|
|
| $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| -$!MEMBERS
|
| - factory SpeechRecognition() {
|
| - return JS('SpeechRecognition',
|
| - 'new (window.SpeechRecognition || window.webkitSpeechRecognition)()');
|
| + factory OptionElement({String data, String value, bool defaultSelected,
|
| + bool selected}) {
|
| + return new OptionElement._(data, value, defaultSelected, selected);
|
| }
|
| +$!MEMBERS
|
| }
|
|
|