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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/collate.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/print_preview/data/ticket_items/collate.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/collate.js b/chrome/browser/resources/print_preview/data/ticket_items/collate.js
index e2055ad53058c608b316aed56d4968d02606a77a..ec59d895da3e01a6697812013e474d089012ef0d 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/collate.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/collate.js
@@ -17,9 +17,7 @@ cr.define('print_preview.ticket_items', function() {
*/
function Collate(appState, destinationStore) {
print_preview.ticket_items.TicketItem.call(
- this,
- appState,
- print_preview.AppStateField.IS_COLLATE_ENABLED,
+ this, appState, print_preview.AppStateField.IS_COLLATE_ENABLED,
destinationStore);
}
@@ -53,16 +51,12 @@ cr.define('print_preview.ticket_items', function() {
*/
getCollateCapability_: function() {
var dest = this.getSelectedDestInternal();
- return (dest &&
- dest.capabilities &&
- dest.capabilities.printer &&
+ return (dest && dest.capabilities && dest.capabilities.printer &&
dest.capabilities.printer.collate) ||
- null;
+ null;
}
};
// Export
- return {
- Collate: Collate
- };
+ return {Collate: Collate};
});

Powered by Google App Engine
This is Rietveld 408576698