repl
repl copied to clipboard
Make the REPL destroyable
At the moment instantiating a REPL is a one-way street - it sets up event listeners and modifies the DOM without any concern for how it can put everything back how it was.
I'd quite like to be able to do something like
// Set it up
var destroy = ramdaRepl(target, config);
// Tear it down
destroy();
This would be a part of making it a good citizen on the docs page.
For bonus points, set up should detect if the desired scripts (ramda-fantasy
et all) are already present and will not load them twice.
I'd assign myself but I do not appear to have that permission.
i think we can release on npm without this feature, but i agree it's a good idea
I'd assign myself but I do not appear to have that permission.
looking into that now
try it again?