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

Allows component to export a method to the parent scope. #2055

Merged
merged 1 commit into from Nov 4, 2015

Conversation

justinbmeyer
Copy link
Contributor

fixes #2051

Basically, we use can.compute.read to read a correct key value.

Components won't be able to export quite as well as normal bindings. For example, you can't export a method's value. This is for performance reasons. To be able to export a method's value, we'd have to create another compute. Perhaps this is the right thing to do, but I'd like to avoid it.

@justinbmeyer justinbmeyer added this to the 2.3.2 milestone Nov 3, 2015
daffl added a commit that referenced this pull request Nov 4, 2015
Allows component to export a method to the parent scope.
@daffl daffl merged commit 1479107 into master Nov 4, 2015
@daffl daffl removed this from the 2.3.2 milestone Nov 4, 2015
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 export a component's prototype function to the references scope
2 participants