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

Side by Side Diff: sdk/lib/html/html_common/lists.dart

Issue 2880543002: Revert "Change some platform libraries to use `part of URI`." (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « sdk/lib/html/html_common/filtered_element_list.dart ('k') | sdk/lib/internal/iterable.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 part of "dart:html_common"; 5 part of html_common;
6 6
7 class Lists { 7 class Lists {
8 /** 8 /**
9 * Returns the index in the array [a] of the given [element], starting 9 * Returns the index in the array [a] of the given [element], starting
10 * the search at index [startIndex] to [endIndex] (exclusive). 10 * the search at index [startIndex] to [endIndex] (exclusive).
11 * Returns -1 if [element] is not found. 11 * Returns -1 if [element] is not found.
12 */ 12 */
13 static int indexOf(List a, Object element, int startIndex, int endIndex) { 13 static int indexOf(List a, Object element, int startIndex, int endIndex) {
14 if (startIndex >= a.length) { 14 if (startIndex >= a.length) {
15 return -1; 15 return -1;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 return accumulator; 62 return accumulator;
63 } 63 }
64 } 64 }
65 65
66 /** 66 /**
67 * For accessing underlying node lists, for dart:js interop. 67 * For accessing underlying node lists, for dart:js interop.
68 */ 68 */
69 abstract class NodeListWrapper { 69 abstract class NodeListWrapper {
70 List<Node> get rawList; 70 List<Node> get rawList;
71 } 71 }
OLDNEW
« no previous file with comments | « sdk/lib/html/html_common/filtered_element_list.dart ('k') | sdk/lib/internal/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698