| Index: tools/dom/templates/html/impl/impl_HTMLTableRowElement.darttemplate
|
| diff --git a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate b/tools/dom/templates/html/impl/impl_HTMLTableRowElement.darttemplate
|
| similarity index 51%
|
| copy from tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| copy to tools/dom/templates/html/impl/impl_HTMLTableRowElement.darttemplate
|
| index 139f6c5bde6af34c6e477340e6c6ee52331a1477..af5ef1702d0013bba98a990d4d23c76bbf4ef122 100644
|
| --- a/tools/dom/templates/html/dart2js/impl_SpeechRecognition.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_HTMLTableRowElement.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('HTMLTableRowElement.cells')
|
| + List<TableCellElement> get cells =>
|
| + new _WrappedList<TableCellElement>($dom_cells);
|
| +
|
| + TableCellElement addCell() {
|
| + return insertCell(-1);
|
| }
|
| -}
|
| +
|
| + TableCellElement insertCell(int index) => $dom_insertCell(index);
|
| +
|
| +$!MEMBERS}
|
|
|