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

Unified Diff: chrome/browser/resources/bluetooth_internals/sidebar.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/sidebar.js
diff --git a/chrome/browser/resources/bluetooth_internals/sidebar.js b/chrome/browser/resources/bluetooth_internals/sidebar.js
index 9071614f354ab3291f120a6a1abddd7ab1f1ddf4..4fb3076d01d61f5014098469f900fadadd326141 100644
--- a/chrome/browser/resources/bluetooth_internals/sidebar.js
+++ b/chrome/browser/resources/bluetooth_internals/sidebar.js
@@ -35,8 +35,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 = {
@@ -109,7 +112,5 @@ cr.define('sidebar', function() {
},
};
- return {
- Sidebar: Sidebar
- };
+ return {Sidebar: Sidebar};
});

Powered by Google App Engine
This is Rietveld 408576698