add q1 .. q9 shortcuts
This commit is contained in:
parent
a4487179a5
commit
cb9ef3ee6a
1 changed files with 2 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ export function repl({
|
|||
|
||||
const all = function (transform) {
|
||||
allTransform = transform;
|
||||
return silence;
|
||||
};
|
||||
|
||||
for (let i = 1; i < 10; ++i) {
|
||||
|
|
@ -95,6 +96,7 @@ export function repl({
|
|||
return this.p(i);
|
||||
},
|
||||
});
|
||||
Pattern.prototype[`q${i}`] = silence;
|
||||
}
|
||||
|
||||
const fit = register('fit', (pat) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue