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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourceCodeDiff.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/SourceCodeDiff.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourceCodeDiff.js b/third_party/WebKit/Source/devtools/front_end/sources/SourceCodeDiff.js
index c6f381ccdc5bf58c02c57828d1d28bd36c3faf40..12f2e256e7dca7bbd6953f34197eb366d68873d6 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourceCodeDiff.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourceCodeDiff.js
@@ -15,7 +15,7 @@ WebInspector.SourceCodeDiff = function(diffBaseline, textEditor)
this._diffBaseline = diffBaseline;
/** @type {!Array<!WebInspector.TextEditorPositionHandle>}*/
this._animatedLines = [];
-}
+};
/** @type {number} */
WebInspector.SourceCodeDiff.UpdateTimeout = 200;
@@ -231,14 +231,14 @@ WebInspector.SourceCodeDiff.prototype = {
* @param {!Map<number, !{lineNumber: number, type: !WebInspector.SourceCodeDiff.GutterDecorationType}>} decorations
*/
_decorationsSetForTest: function(decorations) { }
-}
+};
/** @enum {symbol} */
WebInspector.SourceCodeDiff.GutterDecorationType = {
Insert: Symbol("Insert"),
Delete: Symbol("Delete"),
Modify: Symbol("Modify"),
-}
+};
/**
* @constructor
@@ -258,7 +258,7 @@ WebInspector.SourceCodeDiff.GutterDecoration = function(textEditor, lineNumber,
else if (type === WebInspector.SourceCodeDiff.GutterDecorationType.Modify)
this._className = "diff-entry-modify";
this.type = type;
-}
+};
WebInspector.SourceCodeDiff.GutterDecoration.prototype = {
/**
@@ -291,4 +291,4 @@ WebInspector.SourceCodeDiff.GutterDecoration.prototype = {
this._textEditor.setGutterDecoration(location.lineNumber, WebInspector.SourceCodeDiff.DiffGutterType, null);
this._textEditor.toggleLineClass(location.lineNumber, this._className, false);
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698