| 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 bd9eeb20ddd1916c182ae648be32fdc4105c12d6..a13be659bc61145b1627ee6d5381739d23a76cba 100644
|
| --- a/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_Node.darttemplate
|
| @@ -252,6 +252,12 @@ $endif
|
| List<Node> getRange(int start, int rangeLength) =>
|
| sublist(start, start + rangeLength);
|
|
|
| + String toString() {
|
| + StringBuffer buffer = new StringBuffer('[');
|
| + buffer.writeAll(this, ', ');
|
| + buffer.write(']');
|
| + return buffer.toString();
|
| + }
|
| // -- end List<Node> mixins.
|
|
|
| // TODO(jacobr): benchmark whether this is more efficient or whether caching
|
|
|