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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/vendor_items.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/vendor_items.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
index f48948c6e0e879ef86baa7e05a3a039337009c53..243894a837245c00f839b97f8ba508f0369ef7d4 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
@@ -63,17 +63,17 @@ cr.define('print_preview.ticket_items', function() {
/** @return {Object} Vendor capabilities of the selected destination. */
get capability() {
var destination = this.destinationStore_ ?
- this.destinationStore_.selectedDestination : null;
+ this.destinationStore_.selectedDestination :
+ null;
if (!destination)
return null;
if (destination.id == print_preview.Destination.GooglePromotedId.FEDEX ||
destination.type == print_preview.Destination.Type.MOBILE) {
return null;
}
- return (destination.capabilities &&
- destination.capabilities.printer &&
+ return (destination.capabilities && destination.capabilities.printer &&
destination.capabilities.printer.vendor_capability) ||
- null;
+ null;
},
/**
@@ -107,7 +107,5 @@ cr.define('print_preview.ticket_items', function() {
};
// Export
- return {
- VendorItems: VendorItems
- };
+ return {VendorItems: VendorItems};
});

Powered by Google App Engine
This is Rietveld 408576698