mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 15:05:45 +01:00
Remove remaining comprehensions.
This commit is contained in:
@@ -548,7 +548,11 @@ var Option = Class("Option", {
|
||||
},
|
||||
|
||||
stringmap: function (vals) {
|
||||
return [Option.quote(k, /:/) + ":" + Option.quote(v, /:/) for ([k, v] of iter(vals))].join(",");
|
||||
return Array.from(iter(vals),
|
||||
([k, v]) => Option.quote(k, /:/) +
|
||||
":" +
|
||||
Option.quote(v, /:/))
|
||||
.join(",");
|
||||
},
|
||||
|
||||
regexplist: vals => vals.join(","),
|
||||
|
||||
Reference in New Issue
Block a user