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

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

Issue 10831410: Also expose JS to dart:path in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix name.wq Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/native_handler.dart
diff --git a/lib/compiler/implementation/native_handler.dart b/lib/compiler/implementation/native_handler.dart
index c11bafdccc2bac72ee4c3779909a33df45506f2c..68f485aab16fcf76cb7a72ff171cd5760883e832 100644
--- a/lib/compiler/implementation/native_handler.dart
+++ b/lib/compiler/implementation/native_handler.dart
@@ -81,6 +81,7 @@ void maybeEnableNative(Compiler compiler,
'dart/tests/compiler/dart2js_native')
|| libraryName == 'dart:dom_deprecated'
|| libraryName == 'dart:isolate'
+ || libraryName == 'dart:math'
|| libraryName == 'dart:html') {
library.canUseNative = true;
library.addToScope(compiler.findHelper(const SourceString('JS')), compiler);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698