| Index: tools/dom/templates/html/impl/impl_NodeIterator.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate b/tools/dom/templates/html/impl/impl_NodeIterator.darttemplate
|
| similarity index 68%
|
| copy from tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| copy to tools/dom/templates/html/impl/impl_NodeIterator.darttemplate
|
| index 139f6c5bde6af34c6e477340e6c6ee52331a1477..d62b23afe1bbb27c0e9057280ab938b304a6a221 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_NodeIterator.darttemplate
|
| @@ -5,9 +5,8 @@
|
| part of $LIBRARYNAME;
|
|
|
| $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| -$!MEMBERS
|
| - factory SpeechRecognition() {
|
| - return JS('SpeechRecognition',
|
| - 'new (window.SpeechRecognition || window.webkitSpeechRecognition)()');
|
| + factory NodeIterator(Node root, int whatToShow) {
|
| + return document.$dom_createNodeIterator(root, whatToShow, null, false);
|
| }
|
| +$!MEMBERS
|
| }
|
|
|