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

Unified Diff: chrome/browser/resources/settings/settings_page/settings_animated_pages.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/settings/settings_page/settings_animated_pages.js
diff --git a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
index 97d51cd7eb4624e8e380f006b38a4b243f9cb7bd..12273a7514b5ddf41fbafa2c90d41d291c9cdb93 100644
--- a/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
+++ b/chrome/browser/resources/settings/settings_page/settings_animated_pages.js
@@ -34,8 +34,8 @@ Polymer({
/** @override */
created: function() {
// Observe the light DOM so we know when it's ready.
- this.lightDomObserver_ = Polymer.dom(this).observeNodes(
- this.lightDomChanged_.bind(this));
+ this.lightDomObserver_ =
+ Polymer.dom(this).observeNodes(this.lightDomChanged_.bind(this));
},
/**
@@ -59,8 +59,7 @@ Polymer({
if (!this.queuedRouteChange_)
return;
this.async(this.currentRouteChanged.bind(
- this,
- this.queuedRouteChange_.newRoute,
+ this, this.queuedRouteChange_.newRoute,
this.queuedRouteChange_.oldRoute));
},
@@ -136,8 +135,8 @@ Polymer({
return;
// Set the subpage's id for use by neon-animated-pages.
- var subpage = /** @type {{_content: DocumentFragment}} */(template)._content
- .querySelector('settings-subpage');
+ var subpage = /** @type {{_content: DocumentFragment}} */ (template)
+ ._content.querySelector('settings-subpage');
subpage.setAttribute('route-path', routePath);
// Carry over the 'no-search' attribute from the template to the stamped

Powered by Google App Engine
This is Rietveld 408576698