Index: pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart b/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart |
index 69a62bcf3484a0de2da44c3a289b16a0eaa590d8..e32b7cca4248689c8e44af3d971714a614614a72 100644 |
--- a/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart |
+++ b/pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart |
@@ -49,8 +49,7 @@ class MainCallStubGenerator { |
// onload event of all script tags and getting the first script which |
// finishes. Since onload is called immediately after execution this should |
// not substantially change execution order. |
- return js.statement( |
- ''' |
+ return js.statement(''' |
(function (callback) { |
if (typeof document === "undefined") { |
callback(null); |
@@ -81,10 +80,9 @@ class MainCallStubGenerator { |
} else { |
#mainCallClosure([]); |
} |
- })''', |
- { |
- 'currentScript': currentScriptAccess, |
- 'mainCallClosure': mainCallClosure |
- }); |
+ })''', { |
+ 'currentScript': currentScriptAccess, |
+ 'mainCallClosure': mainCallClosure |
+ }); |
} |
} |