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

Unified Diff: chrome/browser/resources/help/channel_change_page.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: event_handler.js 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/help/channel_change_page.js
diff --git a/chrome/browser/resources/help/channel_change_page.js b/chrome/browser/resources/help/channel_change_page.js
index 3763f6533c797e2dd53f080bc0836a9671603e10..8ec8c9b51c359368315a04a7ef2cde6ed310f0da 100644
--- a/chrome/browser/resources/help/channel_change_page.js
+++ b/chrome/browser/resources/help/channel_change_page.js
@@ -46,17 +46,18 @@ cr.define('help', function() {
* List of the possible ui states.
* @private
*/
- uiClassTable_: ['selected-channel-requires-powerwash',
- 'selected-channel-requires-delayed-update',
- 'selected-channel-good',
- 'selected-channel-unstable'],
+ uiClassTable_: [
+ 'selected-channel-requires-powerwash',
+ 'selected-channel-requires-delayed-update', 'selected-channel-good',
+ 'selected-channel-unstable'
+ ],
/** override */
initializePage: function() {
Page.prototype.initializePage.call(this);
$('channel-change-page-cancel-button').onclick =
- PageManager.closeOverlay.bind(PageManager);
+ PageManager.closeOverlay.bind(PageManager);
var self = this;
var options = this.getAllChannelOptions_();
@@ -204,7 +205,7 @@ cr.define('help', function() {
* @private
*/
updateCurrentChannel_: function(channel) {
- if (this.channelList_.indexOf(channel) < 0)
+ if (this.channelList_.indexOf(channel) < 0)
return;
this.currentChannel_ = channel;
this.selectOption_(channel);
@@ -255,7 +256,5 @@ cr.define('help', function() {
};
// Export
- return {
- ChannelChangePage: ChannelChangePage
- };
+ return {ChannelChangePage: ChannelChangePage};
});

Powered by Google App Engine
This is Rietveld 408576698