Index: lib/src/codegen/html_codegen.dart |
diff --git a/lib/src/codegen/html_codegen.dart b/lib/src/codegen/html_codegen.dart |
index f080611a96b823012e2e9793a5b1c069e4004276..268de7f844af6364aca2674b921110d8f15357cf 100644 |
--- a/lib/src/codegen/html_codegen.dart |
+++ b/lib/src/codegen/html_codegen.dart |
@@ -2,7 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library ddc.src.codegen.html_codegen; |
+library dev_compiler.src.codegen.html_codegen; |
import 'dart:io'; |
@@ -16,11 +16,11 @@ import 'package:dev_compiler/src/options.dart'; |
import 'js_codegen.dart' show jsLibraryName, jsOutputPath; |
/// Emits an entry point HTML file corresponding to [inputFile] that can load |
-/// the code generated by the ddc compiler. |
+/// the code generated by the dev compiler. |
/// |
/// This internally transforms the given HTML [document]. When compiling to |
-/// JavaScript, we remove any Dart script tags, add new script tags to load the |
-/// ddc runtime and the compiled code, and to execute the main method of the |
+/// JavaScript, we remove any Dart script tags, add new script tags to load our |
+/// runtime and the compiled code, and to execute the main method of the |
/// application. When compiling to Dart, we ensure that the document contains a |
/// single Dart script tag, but otherwise emit the original document |
/// unmodified. |
@@ -55,9 +55,9 @@ void generateEntryHtml(String inputFile, CompilerOptions options, |
/// A document fragment with scripts that check for harmony features and that |
/// inject our runtime. |
-Node _loadRuntimeScripts(String ddcLibDir) => parseFragment(''' |
-<script src="$ddcLibDir/runtime/harmony_feature_check.js"></script> |
-<script src="$ddcLibDir/runtime/dart_runtime.js"></script> |
+Node _loadRuntimeScripts(String libDir) => parseFragment(''' |
+<script src="$libDir/runtime/harmony_feature_check.js"></script> |
+<script src="$libDir/runtime/dart_runtime.js"></script> |
'''); |
/// A script tag that loads the .js code for a compiled library. |