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

Support ES6 syntax / arrow functions #7

Open
mmagyar opened this issue Jan 30, 2015 · 5 comments
Open

Support ES6 syntax / arrow functions #7

mmagyar opened this issue Jan 30, 2015 · 5 comments

Comments

@mmagyar
Copy link

mmagyar commented Jan 30, 2015

Currently the plugin will respond with a syntax error message if there are ES6 contructs in the code like fat arrow functions

@asgerf
Copy link
Owner

asgerf commented Jan 31, 2015

There should now be support for some ES6 syntax such as arrow functions, let bindings, and default parameter values. Classes are not supported.

Please try it out and report back. I haven't tested it very well since I don't have any good tests that use ES6 features.

@mmagyar
Copy link
Author

mmagyar commented Jan 31, 2015

Thanks!
It works great with arrow function, handles 'this' correctly as well, let and const are okay too.

@bruslim
Copy link

bruslim commented Jul 20, 2015

doesn't handle import

@asgerf
Copy link
Owner

asgerf commented Jul 21, 2015

There should now be basic support for import and export.

Note that multi-file renaming is still not supported (and is not planned), but it does not crash any more when your file has an import or export.

@bruslim
Copy link

bruslim commented Jul 22, 2015

handles import and export 👍

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

3 participants