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

Allow spread operator in attributes #3152

Merged
merged 2 commits into from
Jun 18, 2019

Conversation

ezhlobo
Copy link
Member

@ezhlobo ezhlobo commented Jun 15, 2019

That is a tiny fix to have better supporting of spread operator in attributes.

For example the following case threw a SyntaxError:

div(anything ...props)

Now that works. It will help me to provide better experience for react users.

@ezhlobo
Copy link
Member Author

ezhlobo commented Jun 18, 2019

@pugjs/maintainers hey, that is a tiny pull request (-1 +5). The rest LOC changes are about tests (and they mostly autogenerated). I'll appreciate if you take a look at this, some tools which I use every day depends on it.

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.

None yet

2 participants