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

Unified Diff: third_party/pkg/angular/lib/core_dom/node_cursor.dart

Issue 180843004: Revert revision 33053 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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: third_party/pkg/angular/lib/core_dom/node_cursor.dart
===================================================================
--- third_party/pkg/angular/lib/core_dom/node_cursor.dart (revision 33054)
+++ third_party/pkg/angular/lib/core_dom/node_cursor.dart (working copy)
@@ -12,7 +12,7 @@
cursorSize() => 1;
macroNext() {
- for (var i = 0, ii = cursorSize(); i < ii; i++, index++){}
+ for(var i = 0, ii = cursorSize(); i < ii; i++, index++){}
return this.isValid();
}
@@ -75,7 +75,7 @@
remove() {
var nodes = nodeList();
- for (var i = 0; i < nodes.length; i++) {
+ for (var i = 0, ii = nodes.length; i < ii; i++) {
// NOTE(deboer): If elements is a list of child nodes on a node, then
// calling Node.remove() may also remove it from the list. Thus, we
// call elements.removeAt first so only one node is removed.
« no previous file with comments | « third_party/pkg/angular/lib/core_dom/ng_mustache.dart ('k') | third_party/pkg/angular/lib/core_dom/selector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698