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

Unified Diff: pkg/compiler/lib/src/js_emitter/main_call_stub_generator.dart

Issue 2990223002: Reformat untouched files. (Closed)
Patch Set: Created 3 years, 4 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: 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
+ });
}
}
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/lazy_emitter/model_emitter.dart ('k') | pkg/compiler/lib/src/js_emitter/native_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698