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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.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/sources/UISourceCodeFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
index bcb6fe4602d9469d803b4aec5f06748c4f3b7720..1b56b0e274fe53d0989e701251bbe140081f7c86 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/UISourceCodeFrame.js
@@ -75,7 +75,7 @@ WebInspector.UISourceCodeFrame = function(uiSourceCode)
return /** @type {!Promise<?string>} */(Promise.resolve(uiSourceCode.workingCopy()));
return uiSourceCode.requestContent();
}
-}
+};
WebInspector.UISourceCodeFrame.prototype = {
/**
@@ -439,7 +439,7 @@ WebInspector.UISourceCodeFrame.prototype = {
},
__proto__: WebInspector.SourceFrame.prototype
-}
+};
WebInspector.UISourceCodeFrame._iconClassPerLevel = {};
WebInspector.UISourceCodeFrame._iconClassPerLevel[WebInspector.UISourceCode.Message.Level.Error] = "error-icon";
@@ -456,7 +456,7 @@ WebInspector.UISourceCodeFrame._lineClassPerLevel[WebInspector.UISourceCode.Mess
/**
* @interface
*/
-WebInspector.UISourceCodeFrame.LineDecorator = function() { }
+WebInspector.UISourceCodeFrame.LineDecorator = function() { };
WebInspector.UISourceCodeFrame.LineDecorator.prototype = {
/**
@@ -464,7 +464,7 @@ WebInspector.UISourceCodeFrame.LineDecorator.prototype = {
* @param {!WebInspector.CodeMirrorTextEditor} textEditor
*/
decorate: function(uiSourceCode, textEditor) { }
-}
+};
/**
* @constructor
@@ -485,7 +485,7 @@ WebInspector.UISourceCodeFrame.RowMessage = function(message)
var messageLine = linesContainer.createChild("div");
messageLine.textContent = lines[i];
}
-}
+};
WebInspector.UISourceCodeFrame.RowMessage.prototype = {
/**
@@ -519,7 +519,7 @@ WebInspector.UISourceCodeFrame.RowMessage.prototype = {
this._repeatCountElement.classList.toggle("hidden", !showRepeatCount);
this._icon.classList.toggle("hidden", showRepeatCount);
}
-}
+};
/**
* @constructor
@@ -543,7 +543,7 @@ WebInspector.UISourceCodeFrame.RowMessageBucket = function(sourceFrame, textEdit
this._messages = [];
this._level = null;
-}
+};
WebInspector.UISourceCodeFrame.RowMessageBucket.prototype = {
/**
@@ -661,7 +661,7 @@ WebInspector.UISourceCodeFrame.RowMessageBucket.prototype = {
this._textEditor.toggleLineClass(lineNumber, WebInspector.UISourceCodeFrame._lineClassPerLevel[this._level], true);
this._icon.type = WebInspector.UISourceCodeFrame._iconClassPerLevel[this._level];
}
-}
+};
WebInspector.UISourceCode.Message._messageLevelPriority = {
"Warning": 3,
@@ -676,4 +676,4 @@ WebInspector.UISourceCode.Message._messageLevelPriority = {
WebInspector.UISourceCode.Message.messageLevelComparator = function(a, b)
{
return WebInspector.UISourceCode.Message._messageLevelPriority[a.level()] - WebInspector.UISourceCode.Message._messageLevelPriority[b.level()];
-}
+};

Powered by Google App Engine
This is Rietveld 408576698