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

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: Merged to tip-of-tree. Created 8 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 | « lib/compiler/implementation/lib/js_helper.dart ('k') | lib/compiler/implementation/patch_parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0d16fc865051d9aaa11690bfcaf683139eb2b027..b20276efa101c5aad9e728ab4130eaee1d78cc30 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', r'Math.sqrt(#)', checkNum(x));
« no previous file with comments | « lib/compiler/implementation/lib/js_helper.dart ('k') | lib/compiler/implementation/patch_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698