mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 05:14:12 +01:00
Remove unnecessary use of values() when iterating over arrays.
This commit is contained in:
@@ -57,7 +57,7 @@ var Prefs = Module("prefs", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
|
||||
if (this == prefs) {
|
||||
if (~["uninstall", "disable"].indexOf(reason)) {
|
||||
for (let name of values(this.branches.saved.getNames()))
|
||||
for (let name of this.branches.saved.getNames())
|
||||
this.safeReset(name, null, true);
|
||||
|
||||
this.branches.original.resetBranch();
|
||||
|
||||
Reference in New Issue
Block a user