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

Unified Diff: sdk/lib/_internal/compiler/implementation/lib/math_patch.dart

Issue 11973006: Private libraries used. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update copy_dart.py to handle show in one line. Created 7 years, 11 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: sdk/lib/_internal/compiler/implementation/lib/math_patch.dart
diff --git a/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart b/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart
index b20276efa101c5aad9e728ab4130eaee1d78cc30..3bccb2cf51356966a4dd8df3a3f2a96520199f63 100644
--- a/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart
+++ b/sdk/lib/_internal/compiler/implementation/lib/math_patch.dart
@@ -3,6 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// Patch file for dart:math library.
+import 'dart:_foreign_helper' show JS;
patch double sqrt(num x)
=> JS('double', r'Math.sqrt(#)', checkNum(x));

Powered by Google App Engine
This is Rietveld 408576698