Commit ea7f6650 authored by allada's avatar allada Committed by Commit bot

[Devtools] Code cleanup - ensure no double-semicolons

This patch is only to ensure when submitting patches that no double
semicolons are submitted.

BUG=none

Review-Url: https://codereview.chromium.org/2153703003
Cr-Commit-Position: refs/heads/master@{#406135}
parent 63408fdb
...@@ -26,6 +26,7 @@ module.exports = { ...@@ -26,6 +26,7 @@ module.exports = {
"avoidEscape": true, "avoidEscape": true,
"allowTemplateLiterals": true "allowTemplateLiterals": true
}], }],
"no-extra-semi": 2,
"comma-style": [2, "last"], "comma-style": [2, "last"],
"wrap-iife": [2, "inside"], "wrap-iife": [2, "inside"],
"spaced-comment": [2, "always", { "spaced-comment": [2, "always", {
......
...@@ -36,7 +36,7 @@ var _loadedScripts = {}; ...@@ -36,7 +36,7 @@ var _loadedScripts = {};
// FIXME: This is a workaround to force Closure compiler provide // FIXME: This is a workaround to force Closure compiler provide
// the standard ES6 runtime for all modules. This should be removed // the standard ES6 runtime for all modules. This should be removed
// once Closure provides standard externs for Map et al. // once Closure provides standard externs for Map et al.
for (var k of []) {}; for (var k of []) {}
/** /**
* @param {string} url * @param {string} url
......
...@@ -200,7 +200,7 @@ WebInspector.createFileSelectorElement = function(callback) ...@@ -200,7 +200,7 @@ WebInspector.createFileSelectorElement = function(callback)
function onChange(event) function onChange(event)
{ {
callback(fileSelectorElement.files[0]); callback(fileSelectorElement.files[0]);
}; }
return fileSelectorElement; return fileSelectorElement;
} }
......
...@@ -470,7 +470,7 @@ WebInspector.ObjectPropertyTreeElement.prototype = { ...@@ -470,7 +470,7 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
parent.invalidateChildren(); parent.invalidateChildren();
parent.expand(); parent.expand();
} }
}; }
}, },
/** /**
......
...@@ -1274,7 +1274,7 @@ WebInspector.HeapSnapshot.prototype = { ...@@ -1274,7 +1274,7 @@ WebInspector.HeapSnapshot.prototype = {
function traceIdFilter(node) function traceIdFilter(node)
{ {
return !!set[node.traceNodeId()]; return !!set[node.traceNodeId()];
}; }
return traceIdFilter; return traceIdFilter;
}, },
......
...@@ -401,7 +401,7 @@ WebInspector.JSHeapSnapshot.prototype = { ...@@ -401,7 +401,7 @@ WebInspector.JSHeapSnapshot.prototype = {
var nodes = this.nodes; var nodes = this.nodes;
var nodesLength = nodes.length; var nodesLength = nodes.length;
var nodeTypeOffset = this._nodeTypeOffset; var nodeTypeOffset = this._nodeTypeOffset;
var nodeSizeOffset = this._nodeSelfSizeOffset;; var nodeSizeOffset = this._nodeSelfSizeOffset;
var nodeNativeType = this._nodeNativeType; var nodeNativeType = this._nodeNativeType;
var nodeCodeType = this._nodeCodeType; var nodeCodeType = this._nodeCodeType;
var nodeConsStringType = this._nodeConsStringType; var nodeConsStringType = this._nodeConsStringType;
...@@ -606,7 +606,7 @@ WebInspector.JSHeapSnapshotNode.prototype = { ...@@ -606,7 +606,7 @@ WebInspector.JSHeapSnapshotNode.prototype = {
{ {
var snapshot = this._snapshot; var snapshot = this._snapshot;
var nodes = snapshot.nodes; var nodes = snapshot.nodes;
var type = nodes[this.nodeIndex + snapshot._nodeTypeOffset];; var type = nodes[this.nodeIndex + snapshot._nodeTypeOffset];
if (type === snapshot._nodeObjectType || type === snapshot._nodeNativeType) if (type === snapshot._nodeObjectType || type === snapshot._nodeNativeType)
return nodes[this.nodeIndex + snapshot._nodeNameOffset]; return nodes[this.nodeIndex + snapshot._nodeNameOffset];
return -1 - type; return -1 - type;
...@@ -796,7 +796,7 @@ WebInspector.JSHeapSnapshotEdge.prototype = { ...@@ -796,7 +796,7 @@ WebInspector.JSHeapSnapshotEdge.prototype = {
case "hidden": case "hidden":
case "invisible": case "invisible":
return "{" + name + "}"; return "{" + name + "}";
}; }
return "?" + name + "?"; return "?" + name + "?";
}, },
......
...@@ -46,7 +46,7 @@ WebInspector.RequestResponseView.prototype = { ...@@ -46,7 +46,7 @@ WebInspector.RequestResponseView.prototype = {
var contentProvider = new WebInspector.RequestResponseView.ContentProvider(this.request); var contentProvider = new WebInspector.RequestResponseView.ContentProvider(this.request);
var highlighterType = this.request.resourceType().canonicalMimeType() || this.request.mimeType; var highlighterType = this.request.resourceType().canonicalMimeType() || this.request.mimeType;
this._sourceView = WebInspector.ResourceSourceFrame.createSearchableView(contentProvider, highlighterType);; this._sourceView = WebInspector.ResourceSourceFrame.createSearchableView(contentProvider, highlighterType);
return this._sourceView; return this._sourceView;
}, },
......
...@@ -584,7 +584,7 @@ WebInspector.HeapSnapshotGenericObjectNode.prototype = { ...@@ -584,7 +584,7 @@ WebInspector.HeapSnapshotGenericObjectNode.prototype = {
case "array": case "array":
value = (value || "") + "[]"; value = (value || "") + "[]";
break; break;
}; }
if (this._reachableFromWindow) if (this._reachableFromWindow)
valueStyle += " highlight"; valueStyle += " highlight";
if (value === "Object") if (value === "Object")
......
...@@ -2210,7 +2210,7 @@ WebInspector.HeapSnapshotStatisticsView.prototype = { ...@@ -2210,7 +2210,7 @@ WebInspector.HeapSnapshotStatisticsView.prototype = {
WebInspector.HeapAllocationStackView = function(target) WebInspector.HeapAllocationStackView = function(target)
{ {
WebInspector.Widget.call(this); WebInspector.Widget.call(this);
this._target = target;; this._target = target;
this._linkifier = new WebInspector.Linkifier(); this._linkifier = new WebInspector.Linkifier();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment