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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js

Issue 2440953003: DevTools: use semicolons after each statement. (Closed)
Patch Set: rebaseline Created 4 years, 2 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: third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js b/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
index efc022dcb5bc9629756b3a0ebfe051b656fcd489..8d558200d39998a01732d2ec570628486a5f7f3b 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/EmulatedDevices.js
@@ -31,7 +31,7 @@ WebInspector.EmulatedDevice = function()
/** @type {?Runtime.Extension} */
this._extension = null;
-}
+};
/** @typedef {!{title: string, orientation: string, insets: !Insets, image: ?string}} */
WebInspector.EmulatedDevice.Mode;
@@ -48,18 +48,18 @@ WebInspector.EmulatedDevice.Type = {
Notebook: "notebook",
Desktop: "desktop",
Unknown: "unknown"
-}
+};
WebInspector.EmulatedDevice.Capability = {
Touch: "touch",
Mobile: "mobile"
-}
+};
WebInspector.EmulatedDevice._Show = {
Always: "Always",
Default: "Default",
Never: "Never"
-}
+};
/**
* @param {*} json
@@ -186,7 +186,7 @@ WebInspector.EmulatedDevice.fromJSONV1 = function(json)
} catch (e) {
return null;
}
-}
+};
/**
* @param {!WebInspector.EmulatedDevice} device1
@@ -202,7 +202,7 @@ WebInspector.EmulatedDevice.deviceComparator = function(device1, device2)
if (order2 > order1)
return -1;
return device1.title < device2.title ? -1 : (device1.title > device2.title ? 1 : 0);
-}
+};
WebInspector.EmulatedDevice.prototype = {
/**
@@ -370,7 +370,7 @@ WebInspector.EmulatedDevice.prototype = {
{
return this.capabilities.indexOf(WebInspector.EmulatedDevice.Capability.Mobile) !== -1;
}
-}
+};
/**
@@ -394,13 +394,13 @@ WebInspector.EmulatedDevicesList = function()
this._custom = [];
if (!this._listFromJSONV1(this._customSetting.get(), this._custom))
this.saveCustomDevices();
-}
+};
/** @enum {symbol} */
WebInspector.EmulatedDevicesList.Events = {
CustomDevicesUpdated: Symbol("CustomDevicesUpdated"),
StandardDevicesUpdated: Symbol("StandardDevicesUpdated")
-}
+};
WebInspector.EmulatedDevicesList.prototype = {
_updateStandardDevices: function()
@@ -513,7 +513,7 @@ WebInspector.EmulatedDevicesList.prototype = {
},
__proto__: WebInspector.Object.prototype
-}
+};
/** @type {?WebInspector.EmulatedDevicesList} */
WebInspector.EmulatedDevicesList._instance;
@@ -526,4 +526,4 @@ WebInspector.EmulatedDevicesList.instance = function()
if (!WebInspector.EmulatedDevicesList._instance)
WebInspector.EmulatedDevicesList._instance = new WebInspector.EmulatedDevicesList();
return /** @type {!WebInspector.EmulatedDevicesList} */ (WebInspector.EmulatedDevicesList._instance);
-}
+};

Powered by Google App Engine
This is Rietveld 408576698