cleanup
This commit is contained in:
parent
6221099af8
commit
d5dfbd7aa4
8 changed files with 54 additions and 59 deletions
|
|
@ -147,7 +147,6 @@ export function repl({
|
|||
|
||||
// set pattern methods that use this repl via closure
|
||||
const injectPatternMethods = () => {
|
||||
|
||||
Pattern.prototype.p = function (id) {
|
||||
if (typeof id === 'string' && (id.startsWith('_') || id.endsWith('_'))) {
|
||||
// allows muting a pattern x with x_ or _x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue