mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-25 04:28:30 +00:00
hotfix: lastOf was undefined
This commit is contained in:
parent
ef427758da
commit
210910eb6e
@ -1483,7 +1483,7 @@ export const outside = register('outside', function (factor, f, pat) {
|
|||||||
* @example
|
* @example
|
||||||
* note("c3 d3 e3 g3").lastOf(4, x=>x.rev())
|
* note("c3 d3 e3 g3").lastOf(4, x=>x.rev())
|
||||||
*/
|
*/
|
||||||
export const { lastOf } = register('lastOf', function (n, func, pat) {
|
export const lastOf = register('lastOf', function (n, func, pat) {
|
||||||
const pats = Array(n - 1).fill(pat);
|
const pats = Array(n - 1).fill(pat);
|
||||||
pats.push(func(pat));
|
pats.push(func(pat));
|
||||||
return slowcatPrime(...pats);
|
return slowcatPrime(...pats);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user