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

Unified Diff: chrome/browser/resources/chromeos/slow.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (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/chromeos/slow.js
diff --git a/chrome/browser/resources/chromeos/slow.js b/chrome/browser/resources/chromeos/slow.js
index 14a5e82cec529af0cb316bd5e97a50d637cf0687..509a732f95441382f965839cad145bbf0f441850 100644
--- a/chrome/browser/resources/chromeos/slow.js
+++ b/chrome/browser/resources/chromeos/slow.js
@@ -3,13 +3,10 @@
// found in the LICENSE file.
cr.define('options', function() {
- function Slow() {
- }
+ function Slow() {}
cr.addSingletonGetter(Slow);
- Slow.prototype = {
- initialized_: false
- };
+ Slow.prototype = {initialized_: false};
Slow.initialize = function() {
$('slow-disable').addEventListener('click', function(event) {
@@ -35,14 +32,12 @@ cr.define('options', function() {
};
// Export
- return {
- Slow: Slow
- };
+ return {Slow: Slow};
});
function load() {
options.Slow.initialize();
- chrome.send('loadComplete');
+ chrome.send('loadComplete');
}
document.addEventListener('DOMContentLoaded', load);
« no previous file with comments | « chrome/browser/resources/chromeos/sim_unlock.js ('k') | chrome/browser/resources/chromeos/switch_access/automation_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698