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

this transpiles to undefined #1573

Closed
hzr opened this issue May 19, 2015 · 4 comments
Closed

this transpiles to undefined #1573

hzr opened this issue May 19, 2015 · 4 comments
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@hzr
Copy link

hzr commented May 19, 2015

this in the global scope transpiles to undefined: http://babeljs.io/repl/#?code=this

Bisecting suggests this was introduced in cfffaf6

@AluisioASG
Copy link
Contributor

Expected behavior, see the FAQ.

@hzr
Copy link
Author

hzr commented May 19, 2015

Thanks.

@sebmck
Copy link
Contributor

sebmck commented May 19, 2015

That's definently the wrong commit. See also #562, #814, #730, #733 etc.

@hzr
Copy link
Author

hzr commented May 19, 2015

@sebmck Thanks, I missed the part about Babel treating input as a module by default. And I can see how that commit is wrong considering the bump in dev dependencies.

Thanks for all your hard work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

3 participants