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

Unified Diff: chrome/browser/resources/media_router/elements/route_details/route_details.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/media_router/elements/route_details/route_details.js
diff --git a/chrome/browser/resources/media_router/elements/route_details/route_details.js b/chrome/browser/resources/media_router/elements/route_details/route_details.js
index ae7ebcca5e1d63a66b704f13ce420e12c896879c..36cec46466f35456024be8e478216b4e9226fcbf 100644
--- a/chrome/browser/resources/media_router/elements/route_details/route_details.js
+++ b/chrome/browser/resources/media_router/elements/route_details/route_details.js
@@ -24,7 +24,7 @@ Polymer({
changeRouteSourceAvailable_: {
type: Boolean,
computed: 'computeChangeRouteSourceAvailable_(route, sink,' +
- 'isAnySinkCurrentlyLaunching, shownCastModeValue)',
+ 'isAnySinkCurrentlyLaunching, shownCastModeValue)',
},
/**
@@ -184,8 +184,8 @@ Polymer({
*/
maybeLoadCustomController_: function() {
this.activityStatus_ = this.route ?
- loadTimeData.getStringF('castingActivityStatus',
- this.route.description) :
+ loadTimeData.getStringF(
+ 'castingActivityStatus', this.route.description) :
'';
if (!this.route || !this.route.customControllerPath) {
@@ -203,12 +203,14 @@ Polymer({
var that = this;
extensionview.load(this.route.customControllerPath)
- .then(function() {
- // Load was successful; show the custom controller.
- that.isCustomControllerHidden_ = false;
- }, function() {
- // Load was unsuccessful; fall back to default view.
- that.isCustomControllerHidden_ = true;
- });
+ .then(
+ function() {
+ // Load was successful; show the custom controller.
+ that.isCustomControllerHidden_ = false;
+ },
+ function() {
+ // Load was unsuccessful; fall back to default view.
+ that.isCustomControllerHidden_ = true;
+ });
},
});

Powered by Google App Engine
This is Rietveld 408576698