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

Unified Diff: third_party/WebKit/Source/devtools/front_end/common/CSSShadowModel.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/common/CSSShadowModel.js
diff --git a/third_party/WebKit/Source/devtools/front_end/common/CSSShadowModel.js b/third_party/WebKit/Source/devtools/front_end/common/CSSShadowModel.js
index f372d6f85f29efded224526226c5ba6852594944..e6dbc3e1e3046ffc3185dee6b752c6f0d8e6b8c0 100644
--- a/third_party/WebKit/Source/devtools/front_end/common/CSSShadowModel.js
+++ b/third_party/WebKit/Source/devtools/front_end/common/CSSShadowModel.js
@@ -16,7 +16,7 @@ WebInspector.CSSShadowModel = function(isBoxShadow)
this._spreadRadius = WebInspector.CSSLength.zero();
this._color = /** @type {!WebInspector.Color} */ (WebInspector.Color.parse("black"));
this._format = [WebInspector.CSSShadowModel._Part.OffsetX, WebInspector.CSSShadowModel._Part.OffsetY];
-}
+};
/**
* @enum {string}
@@ -28,7 +28,7 @@ WebInspector.CSSShadowModel._Part = {
BlurRadius: "B",
SpreadRadius: "S",
Color: "C"
-}
+};
/**
* @param {string} text
@@ -37,7 +37,7 @@ WebInspector.CSSShadowModel._Part = {
WebInspector.CSSShadowModel.parseTextShadow = function(text)
{
return WebInspector.CSSShadowModel._parseShadow(text, false);
-}
+};
/**
* @param {string} text
@@ -46,7 +46,7 @@ WebInspector.CSSShadowModel.parseTextShadow = function(text)
WebInspector.CSSShadowModel.parseBoxShadow = function(text)
{
return WebInspector.CSSShadowModel._parseShadow(text, true);
-}
+};
WebInspector.CSSShadowModel.prototype = {
/**
@@ -189,7 +189,7 @@ WebInspector.CSSShadowModel.prototype = {
}
return parts.join(" ");
}
-}
+};
/**
* @param {string} text
@@ -287,7 +287,7 @@ WebInspector.CSSShadowModel._parseShadow = function(text, isBoxShadow)
}
return count < min || count > max;
}
-}
+};
/**
* @constructor
@@ -298,7 +298,7 @@ WebInspector.CSSLength = function(amount, unit)
{
this.amount = amount;
this.unit = unit;
-}
+};
/** @type {!RegExp} */
WebInspector.CSSLength.Regex = (function()
@@ -322,7 +322,7 @@ WebInspector.CSSLength.parse = function(text)
if (match.length > 2 && match[2])
return new WebInspector.CSSLength(parseFloat(match[1]), match[2]);
return WebInspector.CSSLength.zero();
-}
+};
/**
* @return {!WebInspector.CSSLength}
@@ -330,7 +330,7 @@ WebInspector.CSSLength.parse = function(text)
WebInspector.CSSLength.zero = function()
{
return new WebInspector.CSSLength(0, "");
-}
+};
WebInspector.CSSLength.prototype = {
/**
@@ -340,4 +340,4 @@ WebInspector.CSSLength.prototype = {
{
return this.amount + this.unit;
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698