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

Unified Diff: chrome/browser/resources/inspect/inspect.js

Issue 2909503003: WebUI: Enable ESLint rule for missing semicolons. (Closed)
Patch Set: Undo local_ntp changes from this CL. Created 3 years, 7 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: chrome/browser/resources/inspect/inspect.js
diff --git a/chrome/browser/resources/inspect/inspect.js b/chrome/browser/resources/inspect/inspect.js
index c770ab9138507e5da0ba6fe695e7effeadc20110..512552b787b17b06a47da2c868e3b9cbfe91dd42 100644
--- a/chrome/browser/resources/inspect/inspect.js
+++ b/chrome/browser/resources/inspect/inspect.js
@@ -225,7 +225,7 @@ function populateRemoteTargets(devices) {
section.remove();
}
- var newDeviceIds = devices.map(function(d) { return d.id });
+ var newDeviceIds = devices.map(function(d) { return d.id; });
Array.prototype.forEach.call(
deviceList.querySelectorAll('.device'),
removeObsolete.bind(null, newDeviceIds));
@@ -282,7 +282,7 @@ function populateRemoteTargets(devices) {
var browserList = deviceSection.querySelector('.browsers');
var newBrowserIds =
- device.browsers.map(function(b) { return b.id });
+ device.browsers.map(function(b) { return b.id; });
Array.prototype.forEach.call(
browserList.querySelectorAll('.browser'),
removeObsolete.bind(null, newBrowserIds));

Powered by Google App Engine
This is Rietveld 408576698