mirror of
https://codeberg.org/uzu/strudel
synced 2026-09-04 06:41:43 -04:00
actually apply the function in every
This commit is contained in:
@@ -338,7 +338,7 @@ class Pattern {
|
||||
}
|
||||
every(n, func) {
|
||||
var pats = Array(n - 1).fill(this);
|
||||
pats.unshift(this);
|
||||
pats.unshift(func(this));
|
||||
return slowcat(...pats);
|
||||
}
|
||||
append(other) {
|
||||
|
||||
Reference in New Issue
Block a user