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

JsFunction::construct #86

Merged
merged 2 commits into from
May 11, 2016
Merged

JsFunction::construct #86

merged 2 commits into from
May 11, 2016

Conversation

dherman
Copy link
Collaborator

@dherman dherman commented May 11, 2016

Implementation of #61: enable constructing new instances from JsFunctions, including those of custom classes, with precise return types.

Dave Herman added 2 commits May 10, 2016 15:54
- `JsFunction<T>::construct` returns `T`
- `JsFunction<T>` defaults to `JsObject`
- `JsClass<T>::constructor` returns `JsFunction<T>`
@dherman dherman merged commit 0424671 into master May 11, 2016
@dherman dherman deleted the dherman-function-construct branch May 11, 2016 06:06
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.

1 participant