Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the REPL destroyable #32

Open
craigdallimore opened this issue Oct 20, 2016 · 4 comments
Open

Make the REPL destroyable #32

craigdallimore opened this issue Oct 20, 2016 · 4 comments
Assignees

Comments

@craigdallimore
Copy link
Contributor

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.

@craigdallimore
Copy link
Contributor Author

I'd assign myself but I do not appear to have that permission.

@buzzdecafe
Copy link
Member

i think we can release on npm without this feature, but i agree it's a good idea

@buzzdecafe
Copy link
Member

I'd assign myself but I do not appear to have that permission.

looking into that now

@buzzdecafe
Copy link
Member

try it again?

@craigdallimore craigdallimore self-assigned this Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants