1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 23:17:59 +01:00

Replace expression closures (function expressions).

Expression closures are to be axed. See https://bugzil.la/1083458.
This commit is contained in:
Doug Kearns
2015-05-26 03:38:58 +10:00
parent 34bfc2f50f
commit ce82387cdd
35 changed files with 182 additions and 184 deletions

2
common/bootstrap.js vendored
View File

@@ -357,7 +357,7 @@ function startup(data, reason) {
addonData = data;
addon = data;
name = data.id.replace(/@.*/, "");
AddonManager.getAddonByID(addon.id, function (a) {
AddonManager.getAddonByID(addon.id, a => {
addon = a;
updateVersion();