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

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: Add missing file 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
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..f3f0619dce419cc6034e55216b3441a3107377c8 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');";
+ : "loader.start('$mainLibraryName');";
return parseFragment('<script>$code</script>\n');
}

Powered by Google App Engine
This is Rietveld 408576698