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

Unified Diff: packages/html/lib/src/utils.dart

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « packages/html/lib/src/treebuilder.dart ('k') | packages/html/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/html/lib/src/utils.dart
diff --git a/packages/html/lib/src/utils.dart b/packages/html/lib/src/utils.dart
index fb58cf144f94edb1aef5cc6aaef5f27d38162bbd..16837b03db03f0d4b8aa6f7b31bcaef73a6dfb7d 100644
--- a/packages/html/lib/src/utils.dart
+++ b/packages/html/lib/src/utils.dart
@@ -43,7 +43,7 @@ bool startsWithAny(String str, List<String> prefixes) {
}
// Like the python [:] operator.
-List slice(List list, int start, [int end]) {
+List/*<T>*/ slice/*<T>*/(List/*<T>*/ list, int start, [int end]) {
if (end == null) end = list.length;
if (end < 0) end += list.length;
« no previous file with comments | « packages/html/lib/src/treebuilder.dart ('k') | packages/html/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698