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

Unified Diff: chrome/browser/resources/print_preview/component.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/component.js
diff --git a/chrome/browser/resources/print_preview/component.js b/chrome/browser/resources/print_preview/component.js
index 3c18829a22e2e16a445447b69bc77a467f05dc62..41ea025f0dad123c938a1b076268207ac006e5ea 100644
--- a/chrome/browser/resources/print_preview/component.js
+++ b/chrome/browser/resources/print_preview/component.js
@@ -27,7 +27,7 @@ cr.define('print_preview', function() {
* @type {EventTracker}
* @private
*/
- this.tracker_ = new EventTracker();
+ this.tracker_ = new EventTracker();
/**
* Child components of the component.
@@ -195,8 +195,8 @@ cr.define('print_preview', function() {
*/
cloneTemplateInternal: function(templateId, opt_keepHidden) {
var templateEl = $(templateId);
- assert(templateEl != null,
- 'Could not find element with ID: ' + templateId);
+ assert(
+ templateEl != null, 'Could not find element with ID: ' + templateId);
var el = assertInstanceof(templateEl.cloneNode(true), HTMLElement);
el.id = '';
if (!opt_keepHidden) {
@@ -206,7 +206,5 @@ cr.define('print_preview', function() {
}
};
- return {
- Component: Component
- };
+ return {Component: Component};
});

Powered by Google App Engine
This is Rietveld 408576698