From a14c7233d45e7287017bc628e72cbfa2c143980c Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sat, 17 Sep 2022 23:40:56 +0200 Subject: [PATCH] fix: tests --- packages/core/pattern.mjs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/core/pattern.mjs b/packages/core/pattern.mjs index 29ec0695..9ff616cf 100644 --- a/packages/core/pattern.mjs +++ b/packages/core/pattern.mjs @@ -1335,6 +1335,11 @@ Pattern.prototype.patternified = [ 'slow', 'velocity', ]; + +// aliases +export const polyrhythm = stack; +export const pr = stack; + // methods that create patterns, which are added to patternified Pattern methods Pattern.prototype.factories = { pure, @@ -1404,10 +1409,6 @@ export function stack(...pats) { return new Pattern(query); } -// aliases -const polyrhythm = stack; -const pr = stack; - /** Concatenation: combines a list of patterns, switching between them successively, one per cycle: * * synonyms: {@link cat}