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

Unified Diff: sdk/lib/html/templates/immutable_list_mixin.darttemplate

Issue 11348313: Revert "Creating a common library for all DOM types." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Oddities with upload. 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
« no previous file with comments | « sdk/lib/html/templates/html/impl/impl_Node.darttemplate ('k') | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/templates/immutable_list_mixin.darttemplate
diff --git a/sdk/lib/html/templates/immutable_list_mixin.darttemplate b/sdk/lib/html/templates/immutable_list_mixin.darttemplate
index bcd7fdc05eaaeade10e5e5acdb6a6c9779af71c7..43479e4864bd8adadc80ae71ad231d7864f93882 100644
--- a/sdk/lib/html/templates/immutable_list_mixin.darttemplate
+++ b/sdk/lib/html/templates/immutable_list_mixin.darttemplate
@@ -25,21 +25,21 @@
}
$if DEFINE_CONTAINS
- bool contains($E element) => Collections.contains(this, element);
+ bool contains($E element) => _Collections.contains(this, element);
$else
// contains() defined by IDL.
$endif
- void forEach(void f($E element)) => Collections.forEach(this, f);
+ void forEach(void f($E element)) => _Collections.forEach(this, f);
- Collection map(f($E element)) => Collections.map(this, [], f);
+ Collection map(f($E element)) => _Collections.map(this, [], f);
Collection<$E> filter(bool f($E element)) =>
- Collections.filter(this, <$E>[], f);
+ _Collections.filter(this, <$E>[], f);
- bool every(bool f($E element)) => Collections.every(this, f);
+ bool every(bool f($E element)) => _Collections.every(this, f);
- bool some(bool f($E element)) => Collections.some(this, f);
+ bool some(bool f($E element)) => _Collections.some(this, f);
bool get isEmpty => this.length == 0;
« no previous file with comments | « sdk/lib/html/templates/html/impl/impl_Node.darttemplate ('k') | sdk/lib/svg/dart2js/svg_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698