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

Unified Diff: sdk/lib/html/templates/html/impl/impl_Node.darttemplate

Issue 11316113: Creating a common library for all DOM types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merging with latest from tree. Created 8 years, 1 month 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: sdk/lib/html/templates/html/impl/impl_Node.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_Node.darttemplate b/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
index a2f4e0ac0808dcb65764463a9ae95107e11260cc..603d24538ea4b13112228a98916945d0911e4f37 100644
--- a/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_Node.darttemplate
@@ -58,18 +58,18 @@ $endif
// TODO(jacobr): We can implement these methods much more efficiently by
// looking up the nodeList only once instead of once per iteration.
- bool contains(Node element) => _Collections.contains(this, element);
+ bool contains(Node element) => Collections.contains(this, element);
- void forEach(void f(Node element)) => _Collections.forEach(this, f);
+ void forEach(void f(Node element)) => Collections.forEach(this, f);
- Collection map(f(Node element)) => _Collections.map(this, [], f);
+ Collection map(f(Node element)) => Collections.map(this, [], f);
Collection<Node> filter(bool f(Node element)) =>
- _Collections.filter(this, <Node>[], f);
+ Collections.filter(this, <Node>[], f);
- bool every(bool f(Node element)) => _Collections.every(this, f);
+ bool every(bool f(Node element)) => Collections.every(this, f);
- bool some(bool f(Node element)) => _Collections.some(this, f);
+ bool some(bool f(Node element)) => Collections.some(this, f);
bool get isEmpty => this.length == 0;

Powered by Google App Engine
This is Rietveld 408576698