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

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

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 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/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/html_codegen.dart
diff --git a/lib/src/codegen/html_codegen.dart b/lib/src/codegen/html_codegen.dart
index 31f25600c207a0262c0729f0ae47f96fee17974f..48ef45626ccd2d4f649928268c0911114b368008 100644
--- a/lib/src/codegen/html_codegen.dart
+++ b/lib/src/codegen/html_codegen.dart
@@ -104,7 +104,7 @@ Node _invokeMain(String mainLibraryName) {
? 'console.error("dev_compiler error: main was not generated");'
// TODO(vsm): Can we simplify this?
// See: https://github.com/dart-lang/dev_compiler/issues/164
- : "dart.start('$mainLibraryName');";
+ : "dart_library.start('$mainLibraryName');";
return parseFragment('<script>$code</script>\n');
}
« no previous file with comments | « lib/runtime/dart_utils.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698