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

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

Issue 10967068: Stop importing js_helper.dart explicitly in the core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Undid changes not necessary for main compiler change. Created 8 years, 3 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: lib/compiler/implementation/lib/math_patch.dart
diff --git a/lib/compiler/implementation/lib/math_patch.dart b/lib/compiler/implementation/lib/math_patch.dart
index 9c4996a0e50aefdddb5a0636b2e218a4302799dc..fef78ef8bc3e052b84c6575421686ec0995d7e3f 100644
--- a/lib/compiler/implementation/lib/math_patch.dart
+++ b/lib/compiler/implementation/lib/math_patch.dart
@@ -4,9 +4,6 @@
// Patch file for dart:math library.
-// Imports checkNum etc. used below.
-#import("js_helper.dart");
-
patch double sqrt(num x)
=> JS('double', @'Math.sqrt(#)', checkNum(x));

Powered by Google App Engine
This is Rietveld 408576698