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

Unified Diff: chrome/browser/resources/bluetooth_internals/device_table.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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/bluetooth_internals/device_table.js
diff --git a/chrome/browser/resources/bluetooth_internals/device_table.js b/chrome/browser/resources/bluetooth_internals/device_table.js
index b177864f880e01cf243630fd38b11f2516f332e5..0068e27d1236c9042c2f80d3902a707303d640aa 100644
--- a/chrome/browser/resources/bluetooth_internals/device_table.js
+++ b/chrome/browser/resources/bluetooth_internals/device_table.js
@@ -27,8 +27,8 @@ cr.define('device_table', function() {
/** @private {?Array<device_collection.Device>} */
this.devices_ = null;
- return document.importNode($('table-template').content.children[0],
- true /* deep */);
+ return document.importNode(
+ $('table-template').content.children[0], true /* deep */);
});
DeviceTable.prototype = {
@@ -140,7 +140,8 @@ cr.define('device_table', function() {
for (var i = 0; i < this.headers_.length; i++) {
// Skip the LINKS column. It has no data-field attribute.
- if (i === COLUMNS.LINKS) continue;
+ if (i === COLUMNS.LINKS)
+ continue;
row.insertCell();
}
@@ -201,7 +202,8 @@ cr.define('device_table', function() {
// Update the properties based on the header field path.
for (var i = 0; i < this.headers_.length; i++) {
// Skip the LINKS column. It has no data-field attribute.
- if (i === COLUMNS.LINKS) continue;
+ if (i === COLUMNS.LINKS)
+ continue;
var header = this.headers_[i];
var propName = header.dataset.field;

Powered by Google App Engine
This is Rietveld 408576698