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 = {
"avoidEscape": true,
"allowTemplateLiterals": true
}],
"no-extra-semi": 2,
"comma-style": [2, "last"],
"wrap-iife": [2, "inside"],
"spaced-comment": [2, "always", {
......
......@@ -36,7 +36,7 @@ var _loadedScripts = {};
// FIXME: This is a workaround to force Closure compiler provide
// the standard ES6 runtime for all modules. This should be removed
// once Closure provides standard externs for Map et al.
for (var k of []) {};
for (var k of []) {}
/**
* @param {string} url
......
......@@ -200,7 +200,7 @@ WebInspector.createFileSelectorElement = function(callback)
function onChange(event)
{
callback(fileSelectorElement.files[0]);
};
}
return fileSelectorElement;
}
......
......@@ -470,7 +470,7 @@ WebInspector.ObjectPropertyTreeElement.prototype = {
parent.invalidateChildren();
parent.expand();
}
};
}
},
/**
......
......@@ -1274,7 +1274,7 @@ WebInspector.HeapSnapshot.prototype = {
function traceIdFilter(node)
{
return !!set[node.traceNodeId()];
};
}
return traceIdFilter;
},
......
......@@ -401,7 +401,7 @@ WebInspector.JSHeapSnapshot.prototype = {
var nodes = this.nodes;
var nodesLength = nodes.length;
var nodeTypeOffset = this._nodeTypeOffset;
var nodeSizeOffset = this._nodeSelfSizeOffset;;
var nodeSizeOffset = this._nodeSelfSizeOffset;
var nodeNativeType = this._nodeNativeType;
var nodeCodeType = this._nodeCodeType;
var nodeConsStringType = this._nodeConsStringType;
......@@ -606,7 +606,7 @@ WebInspector.JSHeapSnapshotNode.prototype = {
{
var snapshot = this._snapshot;
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)
return nodes[this.nodeIndex + snapshot._nodeNameOffset];
return -1 - type;
......@@ -796,7 +796,7 @@ WebInspector.JSHeapSnapshotEdge.prototype = {
case "hidden":
case "invisible":
return "{" + name + "}";
};
}
return "?" + name + "?";
},
......
......@@ -46,7 +46,7 @@ WebInspector.RequestResponseView.prototype = {
var contentProvider = new WebInspector.RequestResponseView.ContentProvider(this.request);
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;
},
......
......@@ -584,7 +584,7 @@ WebInspector.HeapSnapshotGenericObjectNode.prototype = {
case "array":
value = (value || "") + "[]";
break;
};
}
if (this._reachableFromWindow)
valueStyle += " highlight";
if (value === "Object")
......
......@@ -2210,7 +2210,7 @@ WebInspector.HeapSnapshotStatisticsView.prototype = {
WebInspector.HeapAllocationStackView = function(target)
{
WebInspector.Widget.call(this);
this._target = target;;
this._target = target;
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