mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 14:04:11 +01:00
Also group :autocmds.
--HG-- branch : groups
This commit is contained in:
@@ -86,10 +86,10 @@ var Template = Module("Template", {
|
||||
let ret = <></>;
|
||||
let n = 0;
|
||||
for each (let i in Iterator(iter)) {
|
||||
let val = func(i);
|
||||
let val = func(i, n);
|
||||
if (val == undefined)
|
||||
continue;
|
||||
if (sep && n++)
|
||||
if (n++ && sep)
|
||||
ret += sep;
|
||||
if (interruptable && n % interruptable == 0)
|
||||
util.threadYield(true, true);
|
||||
|
||||
Reference in New Issue
Block a user