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

Provide v0.x compatible constructor #15

Open
eriwen opened this issue Dec 18, 2016 · 0 comments
Open

Provide v0.x compatible constructor #15

eriwen opened this issue Dec 18, 2016 · 0 comments

Comments

@eriwen
Copy link
Member

eriwen commented Dec 18, 2016

We can check if we're outside strict-mode and try to get the arity of the arguments to provide a backward-compatible constructor. This is spiked in 2654cdb

eriwen added a commit that referenced this issue Dec 18, 2016
- Log deprecation warning
- Check for strict mode and set attributes as v0.x did

Issue: #15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant