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

RegeneratorRuntime is not defined #37

Open
syaiful6 opened this issue Oct 27, 2016 · 1 comment
Open

RegeneratorRuntime is not defined #37

syaiful6 opened this issue Oct 27, 2016 · 1 comment

Comments

@syaiful6
Copy link

when i try to write a generator function in Repl, i get Error telling me that RegeneratorRuntime is not defined. Try it here: https://goo.gl/pwSSDJ

i think if the repl not include RegeneratorRuntime code, then the best thing to do is just leave the generator function as-is, ie don't transpile it to RegeneratorRuntime.

@craigdallimore
Copy link
Contributor

Oh, good catch - I suppose we could do something like feature detect for the availability of generators and conditionally load the RegeneratorRuntime.

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