Index: dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
index f14543f3dcae2b23c108967dfbc57f81277b579e..d6aff59f2ec5fd15d3bd9f5d5e1bad046f02fae1 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -286,6 +286,12 @@ abstract class Compiler implements DiagnosticListener { |
*/ |
final Uri sourceMapUri; |
+ /** |
+ * The name to use for the global JS object in JS output. Default |
+ * value is "$". |
+ */ |
+ final String globalJsName; |
+ |
final api.CompilerOutputProvider outputProvider; |
bool disableInlining = false; |
@@ -460,6 +466,7 @@ abstract class Compiler implements DiagnosticListener { |
this.verbose: false, |
this.sourceMapUri: null, |
this.buildId: "build number could not be determined", |
+ this.globalJsName: r'$', |
outputProvider, |
List<String> strips: const []}) |
: this.analyzeOnly = analyzeOnly || analyzeSignaturesOnly, |