Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Unified Diff: tools/dom/templates/html/impl/impl_Node.darttemplate

Issue 11887006: Changed @domName annotation in comment to full fledge @DomName annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698