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

Side by Side Diff: pkg/template_binding/lib/src/list_diff.dart

Issue 34453003: Rename mdv -> template_binding, remove experiemntal apis from dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/template_binding/lib/src/input_element.dart ('k') | pkg/template_binding/lib/src/node.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library mdv.src.list_diff; 5 library template_binding.src.list_diff;
6 6
7 import 'dart:math' as math; 7 import 'dart:math' as math;
8 import 'package:observe/observe.dart' show ListChangeRecord; 8 import 'package:observe/observe.dart' show ListChangeRecord;
9 9
10 /** 10 /**
11 * A summary of an individual change to a [List]. 11 * A summary of an individual change to a [List].
12 * 12 *
13 * Each delta represents that at the [index], [removed] sequence of items were 13 * Each delta represents that at the [index], [removed] sequence of items were
14 * removed, and counting forward from [index], [addedCount] items were added. 14 * removed, and counting forward from [index], [addedCount] items were added.
15 * 15 *
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 oldIndex++; 259 oldIndex++;
260 break; 260 break;
261 } 261 }
262 } 262 }
263 263
264 if (splice != null) { 264 if (splice != null) {
265 splices.add(splice); 265 splices.add(splice);
266 } 266 }
267 return splices; 267 return splices;
268 } 268 }
OLDNEW
« no previous file with comments | « pkg/template_binding/lib/src/input_element.dart ('k') | pkg/template_binding/lib/src/node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698