mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 03:12:27 +01:00
Clean up some old-style iterator gunk.
This commit is contained in:
@@ -1339,8 +1339,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
opts: update({
|
||||
s: ["Status bar", [statusline.statusBar.id]]
|
||||
}, config.guioptions),
|
||||
|
||||
setter: function (opts) {
|
||||
for (let [opt, [, ids]] in Iterator(this.opts)) {
|
||||
for (let [opt, [, ids]] of iter(this.opts)) {
|
||||
ids.map(id => document.getElementById(id))
|
||||
.forEach(function (elem) {
|
||||
if (elem)
|
||||
|
||||
Reference in New Issue
Block a user