mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 07:24:12 +01:00
Remove unnecessary use of values() when iterating over arrays.
This commit is contained in:
@@ -54,7 +54,7 @@ var updateAddons = Class("UpgradeListener", AddonListener, {
|
||||
this.remaining = addons;
|
||||
this.upgrade = [];
|
||||
this.dactyl.echomsg(_("addon.check", addons.map(a => a.name).join(", ")));
|
||||
for (let addon of values(addons))
|
||||
for (let addon of addons)
|
||||
addon.findUpdates(this, AddonManager.UPDATE_WHEN_USER_REQUESTED, null, null);
|
||||
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user