mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-23 19:48:31 +00:00
add q1 .. q9 shortcuts
This commit is contained in:
parent
a4487179a5
commit
cb9ef3ee6a
@ -87,6 +87,7 @@ export function repl({
|
|||||||
|
|
||||||
const all = function (transform) {
|
const all = function (transform) {
|
||||||
allTransform = transform;
|
allTransform = transform;
|
||||||
|
return silence;
|
||||||
};
|
};
|
||||||
|
|
||||||
for (let i = 1; i < 10; ++i) {
|
for (let i = 1; i < 10; ++i) {
|
||||||
@ -95,6 +96,7 @@ export function repl({
|
|||||||
return this.p(i);
|
return this.p(i);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Pattern.prototype[`q${i}`] = silence;
|
||||||
}
|
}
|
||||||
|
|
||||||
const fit = register('fit', (pat) =>
|
const fit = register('fit', (pat) =>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user