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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/page_range.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/page_range.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/page_range.js b/chrome/browser/resources/print_preview/data/ticket_items/page_range.js
index db20e71f1f7646ce6258dcb93e5b100a5ebdd9f6..0c88da7ab64d4a491e733d7b0b9e00086c966a51 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/page_range.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/page_range.js
@@ -15,10 +15,7 @@ cr.define('print_preview.ticket_items', function() {
*/
function PageRange(documentInfo) {
print_preview.ticket_items.TicketItem.call(
- this,
- null /*appState*/,
- null /*field*/,
- null /*destinationStore*/,
+ this, null /*appState*/, null /*field*/, null /*destinationStore*/,
documentInfo);
};
@@ -99,13 +96,11 @@ cr.define('print_preview.ticket_items', function() {
checkValidity: function() {
var pageRanges = pageRangeTextToPageRanges(
this.getValue(), this.getDocumentInfoInternal().pageCount);
- return pageRanges instanceof Array ?
- PageRangeStatus.NO_ERROR : pageRanges;
+ return pageRanges instanceof Array ? PageRangeStatus.NO_ERROR :
+ pageRanges;
},
};
// Export
- return {
- PageRange: PageRange
- };
+ return {PageRange: PageRange};
});

Powered by Google App Engine
This is Rietveld 408576698