mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 12:45:47 +01:00
Death to for each.
This commit is contained in:
@@ -452,7 +452,7 @@ var File = Class("File", {
|
||||
child: function child() {
|
||||
let f = this.constructor(this);
|
||||
for (let [, name] in Iterator(arguments))
|
||||
for each (let elem in name.split(File.pathSplit))
|
||||
for (let elem of name.split(File.pathSplit))
|
||||
f.append(elem);
|
||||
return f;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user