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

Unified Diff: chrome/browser/resources/cast/cast.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: hackhackhack 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/cast/cast.js
diff --git a/chrome/browser/resources/cast/cast.js b/chrome/browser/resources/cast/cast.js
index 57c4a1603969911cb3afa62187026715059a09d1..02e5305e3c23d2df59d6d8ec6be7b6a39f8edd9a 100644
--- a/chrome/browser/resources/cast/cast.js
+++ b/chrome/browser/resources/cast/cast.js
@@ -21,14 +21,12 @@ window.addEventListener('load', function init() {
if (newHash !== oldHash) {
window.location.hash = newHash;
}
- }).observe(extensionView, {
- attributes: true
- });
+ }).observe(extensionView, {attributes: true});
window.addEventListener('hashchange', function() {
var newHash = window.location.hash.substr(1);
- var extensionViewSrcParts = splitUrlOnHash(
- extensionView.getAttribute('src'));
+ var extensionViewSrcParts =
+ splitUrlOnHash(extensionView.getAttribute('src'));
if (newHash !== extensionViewSrcParts[1]) {
extensionView.load(extensionViewSrcParts[0] + '#' + newHash);
}
@@ -36,6 +34,6 @@ window.addEventListener('load', function init() {
extensionView.load(
'chrome-extension://' + loadTimeData.getString('extensionId') +
- '/cast_setup/index.html#' + window.location.hash.substr(1) || 'devices');
+ '/cast_setup/index.html#' + window.location.hash.substr(1) ||
+ 'devices');
});
-

Powered by Google App Engine
This is Rietveld 408576698