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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.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/NavigatorView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
index 816017d8f008f204b660c65abcf8d9316d99053a..d4ccc42aa7015908c7a6401caccae405ae13c4b8 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js
@@ -74,7 +74,7 @@ WebInspector.NavigatorView = function()
WebInspector.targetManager.observeTargets(this);
this._resetWorkspace(WebInspector.workspace);
this._workspace.uiSourceCodes().forEach(this._addUISourceCode.bind(this));
-}
+};
WebInspector.NavigatorView.Types = {
Category: "category",
@@ -87,7 +87,7 @@ WebInspector.NavigatorView.Types = {
Root: "root",
SourceMapFolder: "sm-folder",
Worker: "worker"
-}
+};
/**
* @param {!TreeElement} treeElement
@@ -127,7 +127,7 @@ WebInspector.NavigatorView._treeElementOrder = function(treeElement)
}
return order;
-}
+};
/**
* @param {!WebInspector.ContextMenu} contextMenu
@@ -141,7 +141,7 @@ WebInspector.NavigatorView.appendAddFolderItem = function(contextMenu)
var addFolderLabel = WebInspector.UIString("Add folder to workspace");
contextMenu.appendItem(addFolderLabel, addFolder);
-}
+};
/**
* @param {!WebInspector.ContextMenu} contextMenu
@@ -160,7 +160,7 @@ WebInspector.NavigatorView.appendSearchItem = function(contextMenu, path)
searchLabel = WebInspector.UIString("Search in all files");
}
contextMenu.appendItem(searchLabel, searchPath);
-}
+};
WebInspector.NavigatorView.prototype = {
/**
@@ -841,7 +841,7 @@ WebInspector.NavigatorView.prototype = {
},
__proto__: WebInspector.VBox.prototype
-}
+};
/**
* @param {!TreeElement} treeElement1
@@ -859,7 +859,7 @@ WebInspector.NavigatorView._treeElementsCompare = function compare(treeElement1,
if (typeWeight1 < typeWeight2)
return -1;
return treeElement1.titleAsText().compareTo(treeElement2.titleAsText());
-}
+};
/**
* @constructor
@@ -879,7 +879,7 @@ WebInspector.NavigatorFolderTreeElement = function(navigatorView, type, title, h
this.createIcon();
this._navigatorView = navigatorView;
this._hoverCallback = hoverCallback;
-}
+};
WebInspector.NavigatorFolderTreeElement.prototype = {
onpopulate: function()
@@ -945,7 +945,7 @@ WebInspector.NavigatorFolderTreeElement.prototype = {
},
__proto__: TreeElement.prototype
-}
+};
/**
* @constructor
@@ -965,7 +965,7 @@ WebInspector.NavigatorSourceTreeElement = function(navigatorView, uiSourceCode,
this._navigatorView = navigatorView;
this._uiSourceCode = uiSourceCode;
-}
+};
WebInspector.NavigatorSourceTreeElement.prototype = {
/**
@@ -1091,7 +1091,7 @@ WebInspector.NavigatorSourceTreeElement.prototype = {
},
__proto__: TreeElement.prototype
-}
+};
/**
* @constructor
@@ -1104,7 +1104,7 @@ WebInspector.NavigatorTreeNode = function(id, type)
this._type = type;
/** @type {!Map.<string, !WebInspector.NavigatorTreeNode>} */
this._children = new Map();
-}
+};
WebInspector.NavigatorTreeNode.prototype = {
/**
@@ -1235,7 +1235,7 @@ WebInspector.NavigatorTreeNode.prototype = {
{
this._children.clear();
}
-}
+};
/**
* @constructor
@@ -1246,7 +1246,7 @@ WebInspector.NavigatorRootTreeNode = function(navigatorView)
{
WebInspector.NavigatorTreeNode.call(this, "", WebInspector.NavigatorView.Types.Root);
this._navigatorView = navigatorView;
-}
+};
WebInspector.NavigatorRootTreeNode.prototype = {
/**
@@ -1268,7 +1268,7 @@ WebInspector.NavigatorRootTreeNode.prototype = {
},
__proto__: WebInspector.NavigatorTreeNode.prototype
-}
+};
/**
* @constructor
@@ -1283,7 +1283,7 @@ WebInspector.NavigatorUISourceCodeTreeNode = function(navigatorView, uiSourceCod
this._uiSourceCode = uiSourceCode;
this._treeElement = null;
this._eventListeners = [];
-}
+};
WebInspector.NavigatorUISourceCodeTreeNode.prototype = {
/**
@@ -1441,7 +1441,7 @@ WebInspector.NavigatorUISourceCodeTreeNode.prototype = {
},
__proto__: WebInspector.NavigatorTreeNode.prototype
-}
+};
/**
* @constructor
@@ -1460,7 +1460,7 @@ WebInspector.NavigatorFolderTreeNode = function(navigatorView, project, id, type
this._project = project;
this._folderPath = folderPath;
this._title = title;
-}
+};
WebInspector.NavigatorFolderTreeNode.prototype = {
/**
@@ -1605,7 +1605,7 @@ WebInspector.NavigatorFolderTreeNode.prototype = {
},
__proto__: WebInspector.NavigatorTreeNode.prototype
-}
+};
/**
* @constructor
@@ -1623,7 +1623,7 @@ WebInspector.NavigatorGroupTreeNode = function(navigatorView, project, id, type,
this._navigatorView = navigatorView;
this._title = title;
this.populate();
-}
+};
WebInspector.NavigatorGroupTreeNode.prototype = {
/**
@@ -1687,4 +1687,4 @@ WebInspector.NavigatorGroupTreeNode.prototype = {
},
__proto__: WebInspector.NavigatorTreeNode.prototype
-}
+};

Powered by Google App Engine
This is Rietveld 408576698