summaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-16 15:35:21 -0500
committerGitHub <noreply@github.com>2021-01-16 15:35:21 -0500
commitb560019af4cb6bbe647097eb48fd09878e7f9036 (patch)
treef8b49336178cbc441cd6efc6e52510f6b4532966 /ext/bg/js/options.js
parentb2342945403c27e346446bbe316f075ed2b13eff (diff)
Shorten options upgrade list (#1252)
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js40
1 files changed, 8 insertions, 32 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index a8cdd885..5299ecd2 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -458,38 +458,14 @@ class OptionsUtil {
_getVersionUpdates() {
return [
- {
- async: false,
- update: this._updateVersion1.bind(this)
- },
- {
- async: false,
- update: this._updateVersion2.bind(this)
- },
- {
- async: true,
- update: this._updateVersion3.bind(this)
- },
- {
- async: true,
- update: this._updateVersion4.bind(this)
- },
- {
- async: false,
- update: this._updateVersion5.bind(this)
- },
- {
- async: true,
- update: this._updateVersion6.bind(this)
- },
- {
- async: false,
- update: this._updateVersion7.bind(this)
- },
- {
- async: true,
- update: this._updateVersion8.bind(this)
- }
+ {async: false, update: this._updateVersion1.bind(this)},
+ {async: false, update: this._updateVersion2.bind(this)},
+ {async: true, update: this._updateVersion3.bind(this)},
+ {async: true, update: this._updateVersion4.bind(this)},
+ {async: false, update: this._updateVersion5.bind(this)},
+ {async: true, update: this._updateVersion6.bind(this)},
+ {async: false, update: this._updateVersion7.bind(this)},
+ {async: true, update: this._updateVersion8.bind(this)}
];
}