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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart_library.library('dart/_metadata', null, /* Imports */[ 1 dart_library.library('dart/_metadata', null, /* Imports */[
2 "dart/_runtime", 2 "dart/_runtime",
3 'dart/core' 3 'dart/core'
4 ], /* Lazy imports */[ 4 ], /* Lazy imports */[
5 ], function(exports, dart, core) { 5 ], function(exports, dart, core) {
6 'use strict'; 6 'use strict';
7 let dartx = dart.dartx; 7 let dartx = dart.dartx;
8 class SupportedBrowser extends core.Object { 8 class SupportedBrowser extends core.Object {
9 SupportedBrowser(browserName, minimumVersion) { 9 SupportedBrowser(browserName, minimumVersion) {
10 if (minimumVersion === void 0) 10 if (minimumVersion === void 0) minimumVersion = null;
11 minimumVersion = null;
12 this.browserName = browserName; 11 this.browserName = browserName;
13 this.minimumVersion = minimumVersion; 12 this.minimumVersion = minimumVersion;
14 } 13 }
15 } 14 }
16 dart.setSignature(SupportedBrowser, { 15 dart.setSignature(SupportedBrowser, {
17 constructors: () => ({SupportedBrowser: [SupportedBrowser, [core.String], [c ore.String]]}) 16 constructors: () => ({SupportedBrowser: [SupportedBrowser, [core.String], [c ore.String]]})
18 }); 17 });
19 SupportedBrowser.CHROME = "Chrome"; 18 SupportedBrowser.CHROME = "Chrome";
20 SupportedBrowser.FIREFOX = "Firefox"; 19 SupportedBrowser.FIREFOX = "Firefox";
21 SupportedBrowser.IE = "Internet Explorer"; 20 SupportedBrowser.IE = "Internet Explorer";
(...skipping 28 matching lines...) Expand all
50 dart.setSignature(Unstable, { 49 dart.setSignature(Unstable, {
51 constructors: () => ({Unstable: [Unstable, []]}) 50 constructors: () => ({Unstable: [Unstable, []]})
52 }); 51 });
53 // Exports: 52 // Exports:
54 exports.SupportedBrowser = SupportedBrowser; 53 exports.SupportedBrowser = SupportedBrowser;
55 exports.Experimental = Experimental; 54 exports.Experimental = Experimental;
56 exports.DomName = DomName; 55 exports.DomName = DomName;
57 exports.DocsEditable = DocsEditable; 56 exports.DocsEditable = DocsEditable;
58 exports.Unstable = Unstable; 57 exports.Unstable = Unstable;
59 }); 58 });
OLDNEW
« 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