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

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

Issue 967933005: rename ddc -> dev_compiler, fixes #84 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 10 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/src/codegen/dart_codegen.dart ('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 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.
« no previous file with comments | « lib/src/codegen/dart_codegen.dart ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698