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

Unified Diff: third_party/pkg/js/lib/js_wrapping.dart

Issue 25931003: Make List.shuffle take an optional Random object to use. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 7 years, 2 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 | « tests/corelib/shuffle_test.dart ('k') | third_party/pkg/js/lib/src/wrapping/js/array_to_list_adapter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/js/lib/js_wrapping.dart
diff --git a/third_party/pkg/js/lib/js_wrapping.dart b/third_party/pkg/js/lib/js_wrapping.dart
index 18edab4582420cc36b3b269e4cde2ad5e4554662..b539dd2b771be7cb1ecace8101d468c83838883b 100644
--- a/third_party/pkg/js/lib/js_wrapping.dart
+++ b/third_party/pkg/js/lib/js_wrapping.dart
@@ -5,6 +5,7 @@
library js.wrapping;
import 'dart:collection';
+import 'dart:math' show Random;
import 'package:meta/meta.dart';
import 'js.dart';
« no previous file with comments | « tests/corelib/shuffle_test.dart ('k') | third_party/pkg/js/lib/src/wrapping/js/array_to_list_adapter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698