| Index: tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate
|
| similarity index 52%
|
| copy from tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| copy to tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate
|
| index 139f6c5bde6af34c6e477340e6c6ee52331a1477..cb5dd96fa2c0c877f79ce104c2a7509a3fe168ee 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLTableSectionElement.darttemplate
|
| @@ -4,10 +4,17 @@
|
|
|
| part of $LIBRARYNAME;
|
|
|
| +@DocsEditable
|
| $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| -$!MEMBERS
|
| - factory SpeechRecognition() {
|
| - return JS('SpeechRecognition',
|
| - 'new (window.SpeechRecognition || window.webkitSpeechRecognition)()');
|
| +
|
| + @DomName('HTMLTableSectionElement.rows')
|
| + List<TableRowElement> get rows =>
|
| + new _WrappedList<TableRowElement>($dom_rows);
|
| +
|
| + TableRowElement addRow() {
|
| + return insertRow(-1);
|
| }
|
| -}
|
| +
|
| + TableRowElement insertRow(int index) => $dom_insertRow(index);
|
| +
|
| +$!MEMBERS}
|
|
|