1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 13:07:57 +01:00

Fix some "for each" iteration of arrays.

This commit is contained in:
Doug Kearns
2009-06-17 16:22:53 +10:00
parent baf423de14
commit e5c6d58a88
6 changed files with 7 additions and 7 deletions

View File

@@ -1050,7 +1050,7 @@ const liberator = (function () //{{{
}
liberator.echomsg('Searching for "plugin/**/*.{js,vimp}" in "'
+ [dir.path.replace(/.plugin$/, "") for each (dir in dirs)].join(",") + '"', 2);
+ [dir.path.replace(/.plugin$/, "") for ([,dir] in Iterator(dirs))].join(",") + '"', 2);
dirs.forEach(function (dir) {
liberator.echomsg("Searching for \"" + (dir.path + "/**/*.{js,vimp}") + "\"", 3);