1
0
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:
Kris Maglione
2014-02-24 19:03:49 -08:00
parent 78a6de9c3a
commit 5b38465a1c
20 changed files with 48 additions and 46 deletions

View File

@@ -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;
},