Skip to content

Remove for-of loops (fixes #31) #32

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

Merged
merged 1 commit into from
Apr 2, 2017
Merged

Remove for-of loops (fixes #31) #32

merged 1 commit into from
Apr 2, 2017

Conversation

jacobp100
Copy link
Contributor

We still use the spread operator, but that seems to compile to using just arguments.

@@ -23,8 +23,8 @@ module.exports = class TokenStream {

if (!node) return null;

/* eslint-disable no-restricted-syntax */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah damn, I should've caught this. My bad!

@mxstbr
Copy link
Member

mxstbr commented Apr 2, 2017

Want to publish a new v and update styled-components too?

@jacobp100 jacobp100 merged commit e5ba584 into master Apr 2, 2017
@mxstbr mxstbr deleted the no-for-of branch April 2, 2017 10:44
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

Successfully merging this pull request may close these issues.

2 participants