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

Unified Diff: chrome/browser/resources/options/options_page.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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/options/options_page.js
diff --git a/chrome/browser/resources/options/options_page.js b/chrome/browser/resources/options/options_page.js
index 9700c7420b3ceeb2fc3e04e37b8ce740b3da6c80..153d5e11024d383b46d41ba92d95d680264a46e3 100644
--- a/chrome/browser/resources/options/options_page.js
+++ b/chrome/browser/resources/options/options_page.js
@@ -47,8 +47,8 @@ cr.define('options', function() {
if (tabBar.activeNavTab != null) {
tabBar.activeNavTab.classList.remove('active-tab');
- $(tabBar.activeNavTab.getAttribute('tab-contents')).classList.
- remove('active-tab-contents');
+ $(tabBar.activeNavTab.getAttribute('tab-contents'))
+ .classList.remove('active-tab-contents');
}
tab.classList.add('active-tab');
@@ -78,17 +78,13 @@ cr.define('options', function() {
*/
setPepperFlashSettingsEnabled: function(enabled) {
if (enabled) {
- document.documentElement.setAttribute(
- 'enablePepperFlashSettings', '');
+ document.documentElement.setAttribute('enablePepperFlashSettings', '');
} else {
- document.documentElement.removeAttribute(
- 'enablePepperFlashSettings');
+ document.documentElement.removeAttribute('enablePepperFlashSettings');
}
},
};
// Export
- return {
- OptionsPage: OptionsPage
- };
+ return {OptionsPage: OptionsPage};
});

Powered by Google App Engine
This is Rietveld 408576698