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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CSSRule.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/CSSRule.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CSSRule.js b/third_party/WebKit/Source/devtools/front_end/sdk/CSSRule.js
index ac35fb1bd907350080467e58886cae676c3dd22d..8829065024bc0c7d0c6e5dfded2ece27ca452104 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CSSRule.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CSSRule.js
@@ -11,7 +11,7 @@ WebInspector.CSSValue = function(payload)
this.text = payload.text;
if (payload.range)
this.range = WebInspector.TextRange.fromObject(payload.range);
-}
+};
WebInspector.CSSValue.prototype = {
/**
@@ -23,7 +23,7 @@ WebInspector.CSSValue.prototype = {
return;
this.range = this.range.rebaseAfterTextEdit(edit.oldRange, edit.newRange);
}
-}
+};
/**
* @constructor
@@ -41,7 +41,7 @@ WebInspector.CSSRule = function(cssModel, payload)
}
this.origin = payload.origin;
this.style = new WebInspector.CSSStyleDeclaration(this._cssModel, this, payload.style, WebInspector.CSSStyleDeclaration.Type.Regular);
-}
+};
WebInspector.CSSRule.prototype = {
/**
@@ -96,7 +96,7 @@ WebInspector.CSSRule.prototype = {
{
return this.origin === CSSAgent.StyleSheetOrigin.Regular;
}
-}
+};
/**
* @constructor
@@ -110,7 +110,7 @@ WebInspector.CSSStyleRule = function(cssModel, payload)
this._reinitializeSelectors(payload.selectorList);
this.media = payload.media ? WebInspector.CSSMedia.parseMediaArrayPayload(cssModel, payload.media) : [];
-}
+};
/**
* @param {!WebInspector.CSSModel} cssModel
@@ -131,7 +131,7 @@ WebInspector.CSSStyleRule.createDummyRule = function(cssModel, selectorText)
}
};
return new WebInspector.CSSStyleRule(cssModel, /** @type {!CSSAgent.CSSRule} */(dummyPayload));
-}
+};
WebInspector.CSSStyleRule.prototype = {
/**
@@ -228,7 +228,7 @@ WebInspector.CSSStyleRule.prototype = {
},
__proto__: WebInspector.CSSRule.prototype
-}
+};
/**
* @constructor
@@ -240,7 +240,7 @@ WebInspector.CSSKeyframesRule = function(cssModel, payload)
this._cssModel = cssModel;
this._animationName = new WebInspector.CSSValue(payload.animationName);
this._keyframes = payload.keyframes.map(keyframeRule => new WebInspector.CSSKeyframeRule(cssModel, keyframeRule));
-}
+};
WebInspector.CSSKeyframesRule.prototype = {
/**
@@ -258,7 +258,7 @@ WebInspector.CSSKeyframesRule.prototype = {
{
return this._keyframes;
}
-}
+};
/**
* @constructor
@@ -270,7 +270,7 @@ WebInspector.CSSKeyframeRule = function(cssModel, payload)
{
WebInspector.CSSRule.call(this, cssModel, payload);
this._reinitializeKey(payload.keyText);
-}
+};
WebInspector.CSSKeyframeRule.prototype = {
/**
@@ -321,4 +321,4 @@ WebInspector.CSSKeyframeRule.prototype = {
},
__proto__: WebInspector.CSSRule.prototype
-}
+};

Powered by Google App Engine
This is Rietveld 408576698