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

Unified Diff: test/codegen/expect/js/js.js

Issue 1524843002: JS: Format if statements with no else on a single line (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebased Created 5 years 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 | « test/codegen/expect/expect/expect.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/js/js.js
diff --git a/test/codegen/expect/js/js.js b/test/codegen/expect/js/js.js
index bba30b0893a316bdbe358a2ca75d9b70ae128ca7..586b391876706451e4e4b5dccdf5f5ba33d928ad 100644
--- a/test/codegen/expect/js/js.js
+++ b/test/codegen/expect/js/js.js
@@ -9,8 +9,7 @@ dart_library.library('js/js', null, /* Imports */[
dart.export_(exports, js, ['allowInterop', 'allowInteropCaptureThis'], []);
class JS extends core.Object {
JS(name) {
- if (name === void 0)
- name = null;
+ if (name === void 0) name = null;
this.name = name;
}
}
« no previous file with comments | « test/codegen/expect/expect/expect.js ('k') | test/codegen/expect/methods.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698