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

Unified Diff: chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js

Issue 2651483002: MD Settings: Eliminate use of ES6 for Chrome OS (Closed)
Patch Set: Feedback Created 3 years, 11 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/settings/bluetooth_page/bluetooth_device_list_item.js
diff --git a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
index fb87d7a0209fc90eb49ab822adbfeb5dff6cedc0..898e479e4acad00b6d39bdff8a21c7003d1f0ca2 100644
--- a/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
+++ b/chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.js
@@ -26,15 +26,15 @@ Polymer({
* @private
*/
onMenuButtonTap_: function(event) {
- let button = /** @type {!HTMLElement} */ (event.target);
- let menu = /** @type {!CrActionMenuElement} */ (this.$.dotsMenu);
+ var button = /** @type {!HTMLElement} */ (event.target);
+ var menu = /** @type {!CrActionMenuElement} */ (this.$.dotsMenu);
menu.showAt(button);
event.stopPropagation();
},
/** @private */
onConnectActionTap_: function() {
- let action = this.isDisconnected_(this.device) ? 'connect' : 'disconnect';
+ var action = this.isDisconnected_(this.device) ? 'connect' : 'disconnect';
this.fire('device-event', {
action: action,
device: this.device,

Powered by Google App Engine
This is Rietveld 408576698