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

Unified Diff: lib/src/codegen/js_codegen.dart

Issue 1413683006: Move runtime js files down to lib/runtime/dart (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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/runtime/dart_utils.js ('k') | lib/src/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/js_codegen.dart
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart
index efcbfdf2c4ca7d98fe1a6808ec63dc2408cc4fbc..9bc0b11b1a3cef283de36ef53be7c4aeb0150c85 100644
--- a/lib/src/codegen/js_codegen.dart
+++ b/lib/src/codegen/js_codegen.dart
@@ -39,7 +39,7 @@ import 'side_effect_analysis.dart';
// Various dynamic helpers we call.
// If renaming these, make sure to check other places like the
-// dart_runtime.js file and comments.
+// _runtime.js file and comments.
// TODO(jmesserly): ideally we'd have a "dynamic call" dart library we can
// import and generate calls to, rather than dart_runtime.js
const DPUT = 'dput';
@@ -195,7 +195,7 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ClosureAnnotator {
list.add(js.string(compiler.getModuleName(library.source.uri), "'"));
};
- var imports = <JS.Expression>[js.string('dart_runtime/dart')];
+ var imports = <JS.Expression>[js.string('dart/_runtime')];
_imports.forEach((library, temp) {
if (_loader.libraryIsLoaded(library)) {
processImport(library, temp, imports);
« no previous file with comments | « lib/runtime/dart_utils.js ('k') | lib/src/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698