| 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);
|
|
|