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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/SourcesView.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/SourcesView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
index 962e3f5bf258ce2aa0adba15df6c7a70122aaca6..103ac813d1e3e4f8ca25c71798071207d733c380 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/SourcesView.js
@@ -98,13 +98,13 @@ WebInspector.SourcesView = function()
this._shortcuts = {};
this.element.addEventListener("keydown", this._handleKeyDown.bind(this), false);
-}
+};
/** @enum {symbol} */
WebInspector.SourcesView.Events = {
EditorClosed: Symbol("EditorClosed"),
EditorSelected: Symbol("EditorSelected"),
-}
+};
WebInspector.SourcesView.prototype = {
/**
@@ -307,7 +307,7 @@ WebInspector.SourcesView.prototype = {
_updateScriptViewToolbarItems: function()
{
this._scriptViewToolbar.removeToolbarItems();
- var view = this.visibleView()
+ var view = this.visibleView();
if (view instanceof WebInspector.SimpleView) {
for (var item of (/** @type {?WebInspector.SimpleView} */(view)).syncToolbarItems())
this._scriptViewToolbar.appendToolbarItem(item);
@@ -324,7 +324,7 @@ WebInspector.SourcesView.prototype = {
showSourceLocation: function(uiSourceCode, lineNumber, columnNumber, omitFocus, omitHighlight)
{
this._historyManager.updateCurrentState();
- this._editorContainer.showFile(uiSourceCode)
+ this._editorContainer.showFile(uiSourceCode);
var currentSourceFrame = this.currentSourceFrame();
if (currentSourceFrame && typeof lineNumber === "number")
currentSourceFrame.revealPosition(lineNumber, columnNumber, !omitHighlight);
@@ -713,14 +713,14 @@ WebInspector.SourcesView.prototype = {
},
__proto__: WebInspector.VBox.prototype
-}
+};
/**
* @interface
*/
WebInspector.SourcesView.EditorAction = function()
{
-}
+};
WebInspector.SourcesView.EditorAction.prototype = {
/**
@@ -728,7 +728,7 @@ WebInspector.SourcesView.EditorAction.prototype = {
* @return {!WebInspector.ToolbarButton}
*/
button: function(sourcesView) { }
-}
+};
/**
* @constructor
@@ -736,7 +736,7 @@ WebInspector.SourcesView.EditorAction.prototype = {
*/
WebInspector.SourcesView.SwitchFileActionDelegate = function()
{
-}
+};
/**
* @param {!WebInspector.UISourceCode} currentUISourceCode
@@ -772,7 +772,7 @@ WebInspector.SourcesView.SwitchFileActionDelegate._nextFile = function(currentUI
var fullURL = (url ? url + "/" : "") + candidates[index];
var nextUISourceCode = currentUISourceCode.project().uiSourceCodeForURL(fullURL);
return nextUISourceCode !== currentUISourceCode ? nextUISourceCode : null;
-}
+};
WebInspector.SourcesView.SwitchFileActionDelegate.prototype = {
@@ -794,7 +794,7 @@ WebInspector.SourcesView.SwitchFileActionDelegate.prototype = {
sourcesView.showSourceLocation(nextUISourceCode);
return true;
}
-}
+};
/**
* @constructor
@@ -802,7 +802,7 @@ WebInspector.SourcesView.SwitchFileActionDelegate.prototype = {
*/
WebInspector.SourcesView.CloseAllActionDelegate = function()
{
-}
+};
WebInspector.SourcesView.CloseAllActionDelegate.prototype = {
/**
@@ -819,4 +819,4 @@ WebInspector.SourcesView.CloseAllActionDelegate.prototype = {
sourcesView._editorContainer.closeAllFiles();
return true;
}
-}
+};

Powered by Google App Engine
This is Rietveld 408576698