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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge 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/print_preview/data/ticket_items/ticket_item.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js b/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
index a6d8824c572f603ed00630445a3b2336129666cf..2d64fcf01b9a5b5ac269b9bab6475ef33dd9458e 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
@@ -184,7 +184,8 @@ cr.define('print_preview.ticket_items', function() {
*/
getSelectedDestInternal: function() {
return this.destinationStore_ ?
- this.destinationStore_.selectedDestination : null;
+ this.destinationStore_.selectedDestination :
+ null;
},
/**
@@ -221,21 +222,18 @@ cr.define('print_preview.ticket_items', function() {
if (this.destinationStore_) {
this.tracker_.add(
this.destinationStore_,
- print_preview.DestinationStore.EventType.
- SELECTED_DESTINATION_CAPABILITIES_READY,
+ print_preview.DestinationStore.EventType
+ .SELECTED_DESTINATION_CAPABILITIES_READY,
this.dispatchChangeEventInternal.bind(this));
}
if (this.documentInfo_) {
this.tracker_.add(
- this.documentInfo_,
- print_preview.DocumentInfo.EventType.CHANGE,
+ this.documentInfo_, print_preview.DocumentInfo.EventType.CHANGE,
this.dispatchChangeEventInternal.bind(this));
}
},
};
// Export
- return {
- TicketItem: TicketItem
- };
+ return {TicketItem: TicketItem};
});

Powered by Google App Engine
This is Rietveld 408576698