Index: tools/dom/templates/html/impl/impl_Node.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_Node.darttemplate b/tools/dom/templates/html/impl/impl_Node.darttemplate |
index 74fe51e4e4278c59a4ba3901de62bf0699c76982..0edbb7b37d59d1692ff89f83ac063411d44ca355 100644 |
--- a/tools/dom/templates/html/impl/impl_Node.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_Node.darttemplate |
@@ -202,8 +202,7 @@ $endif |
Node operator[](int index) => _this.$dom_childNodes[index]; |
} |
- |
-/// @domName $DOMNAME |
+$ANNOTATIONS |
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
List<Node> get nodes { |
return new _ChildNodeListLazy(this); |
@@ -221,8 +220,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
/** |
* Removes this node from the DOM. |
- * @domName Node.removeChild |
*/ |
+ @DomName('Node.removeChild') |
void remove() { |
// TODO(jacobr): should we throw an exception if parent is already null? |
// TODO(vsm): Use the native remove when available. |
@@ -234,8 +233,8 @@ class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
/** |
* Replaces this node with another node. |
- * @domName Node.replaceChild |
*/ |
+ @DomName('Node.replaceChild') |
Node replaceWith(Node otherNode) { |
try { |
final Node parent = this.parentNode; |