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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.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/sdk/CSSMetadata.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
index c61880a190e146f4713858a678d00dff6ead5fc5..3410517fd645f068484b1ae6729695f14bba1892 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CSSMetadata.js
@@ -69,7 +69,7 @@ WebInspector.CSSMetadata = function(properties)
}
this._values.sort();
this._valuesSet = new Set(this._values);
-}
+};
WebInspector.CSSMetadata.VariableRegex = /(var\(--.*?\))/g;
WebInspector.CSSMetadata.URLRegex = /url\(\s*('.+?'|".+?"|[^)]+)\s*\)/g;
@@ -217,7 +217,7 @@ WebInspector.CSSMetadata.prototype = {
}
return index;
}
-}
+};
/**
* @return {!WebInspector.CSSMetadata}
@@ -227,7 +227,7 @@ WebInspector.cssMetadata = function()
if (!WebInspector.CSSMetadata._instance)
WebInspector.CSSMetadata._instance = new WebInspector.CSSMetadata(WebInspector.CSSMetadata._generatedProperties || []);
return WebInspector.CSSMetadata._instance;
-}
+};
WebInspector.CSSMetadata._distanceProperties = new Set([
"background-position", "border-spacing", "bottom", "font-size", "height", "left", "letter-spacing", "max-height", "max-width", "min-height",
@@ -708,7 +708,7 @@ WebInspector.CSSMetadata._propertyDataMap = {
"normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light",
"difference", "exclusion", "hue", "saturation", "color", "luminosity", "unset"
] },
-}
+};
// Weight of CSS properties based on their usage from https://www.chromestatus.com/metrics/css/popularity
WebInspector.CSSMetadata.Weight = {

Powered by Google App Engine
This is Rietveld 408576698