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

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

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: . Created 4 years 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/sidebar.js
diff --git a/chrome/browser/resources/bluetooth_internals/sidebar.js b/chrome/browser/resources/bluetooth_internals/sidebar.js
index f060e713979238a4cd899271606dd828771254f6..79e0c8e3ddfe15ea29982dc0b9cccb47a20d05bf 100644
--- a/chrome/browser/resources/bluetooth_internals/sidebar.js
+++ b/chrome/browser/resources/bluetooth_internals/sidebar.js
@@ -32,8 +32,11 @@ cr.define('sidebar', function() {
this.overlayDiv_ = this.sidebarDiv_.querySelector('.overlay');
this.overlayDiv_.addEventListener('click', this.close.bind(this));
- window.matchMedia('screen and (max-width: 600px)').addListener(
- function(query) { if (!query.matches) this.close(); }.bind(this));
+ window.matchMedia('screen and (max-width: 600px)')
+ .addListener(function(query) {
+ if (!query.matches)
+ this.close();
+ }.bind(this));
}
Sidebar.prototype = {
@@ -79,7 +82,5 @@ cr.define('sidebar', function() {
},
};
- return {
- Sidebar: Sidebar
- };
+ return {Sidebar: Sidebar};
});

Powered by Google App Engine
This is Rietveld 408576698