Skip to content

Compatibility with native class #34

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
Nov 15, 2016
Merged

Compatibility with native class #34

merged 1 commit into from
Nov 15, 2016

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Nov 15, 2016

This PR fixes #33.

Some errors will be occurred if we use JavaScript native class since it does not allow updating prototype and must be called with new keyword.

I've revert the code of extending component constructor and change the approach to collect class properties...

@yyx990803 yyx990803 merged commit 997bf95 into vuejs:master Nov 15, 2016
@ktsn ktsn deleted the native-class-compat branch November 16, 2016 01:11
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.

"Cannot assign to read only property 'prototype'" When ES2015
2 participants