add p1 .. p9 shortcuts as well
This commit is contained in:
parent
cb9ef3ee6a
commit
265f01eb06
1 changed files with 5 additions and 0 deletions
|
|
@ -96,6 +96,11 @@ export function repl({
|
|||
return this.p(i);
|
||||
},
|
||||
});
|
||||
Object.defineProperty(Pattern.prototype, `p${i}`, {
|
||||
get() {
|
||||
return this.p(i);
|
||||
},
|
||||
});
|
||||
Pattern.prototype[`q${i}`] = silence;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue