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

Unified Diff: third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.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/DeviceOrientation.js
diff --git a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js
index 32ae78161d92649981b267f6bec1c243e89a5680..913705291c5fcf2a2bec6342986c485f05389362 100644
--- a/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js
+++ b/third_party/WebKit/Source/devtools/front_end/emulation/DeviceOrientation.js
@@ -13,7 +13,7 @@ WebInspector.DeviceOrientation = function(alpha, beta, gamma)
this.alpha = alpha;
this.beta = beta;
this.gamma = gamma;
-}
+};
WebInspector.DeviceOrientation.prototype = {
/**
@@ -35,7 +35,7 @@ WebInspector.DeviceOrientation.prototype = {
for (var target of WebInspector.targetManager.targets(WebInspector.Target.Capability.Browser))
target.deviceOrientationAgent().clearDeviceOrientationOverride();
}
-}
+};
/**
* @return {!WebInspector.DeviceOrientation}
@@ -47,7 +47,7 @@ WebInspector.DeviceOrientation.parseSetting = function(value)
return new WebInspector.DeviceOrientation(jsonObject.alpha, jsonObject.beta, jsonObject.gamma);
}
return new WebInspector.DeviceOrientation(0, 0, 0);
-}
+};
/**
* @return {?WebInspector.DeviceOrientation}
@@ -69,7 +69,7 @@ WebInspector.DeviceOrientation.parseUserInput = function(alphaString, betaString
var gamma = isGammaValid ? parseFloat(gammaString) : -1;
return new WebInspector.DeviceOrientation(alpha, beta, gamma);
-}
+};
/**
* @param {string} value
@@ -78,4 +78,4 @@ WebInspector.DeviceOrientation.parseUserInput = function(alphaString, betaString
WebInspector.DeviceOrientation.validator = function(value)
{
return /^([+-]?[\d]+(\.\d+)?|[+-]?\.\d+)$/.test(value);
-}
+};

Powered by Google App Engine
This is Rietveld 408576698