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

Unified Diff: lib/runtime/dart/_metadata.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 | « lib/runtime/dart/_js_mirrors.js ('k') | lib/runtime/dart/_native_typed_data.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_metadata.js
diff --git a/lib/runtime/dart/_metadata.js b/lib/runtime/dart/_metadata.js
index ce736a3b8d9f9220ccd3f37073b91a64cab1eaa6..b704382de7b61686473a64a17e0e862609eb78ef 100644
--- a/lib/runtime/dart/_metadata.js
+++ b/lib/runtime/dart/_metadata.js
@@ -7,8 +7,7 @@ dart_library.library('dart/_metadata', null, /* Imports */[
let dartx = dart.dartx;
class SupportedBrowser extends core.Object {
SupportedBrowser(browserName, minimumVersion) {
- if (minimumVersion === void 0)
- minimumVersion = null;
+ if (minimumVersion === void 0) minimumVersion = null;
this.browserName = browserName;
this.minimumVersion = minimumVersion;
}
« no previous file with comments | « lib/runtime/dart/_js_mirrors.js ('k') | lib/runtime/dart/_native_typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698