We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A scope object with a constructor function like:
scope: { Todo: Todo }
Todo is not treated as a property, instead as a method, which makes it unbindable in "events":
Todo
Example:
http://jsfiddle.net/c3bfy/146/
The text was updated successfully, but these errors were encountered:
The fix is to make can.Map treat can.Constructs on the prototype as defaults instead of methods.
Sorry, something went wrong.
This behavior happens around here: https://github.com/bitovi/canjs/blob/master/map/map.js#L62
Related question on Stack Overflow
Update compute.read to also return constructor functions. Adding anot…
000aa92
…her test for #1261
a373b64
Successfully merging a pull request may close this issue.
A scope object with a constructor function like:
Todo
is not treated as a property, instead as a method, which makes it unbindable in "events":Example:
http://jsfiddle.net/c3bfy/146/
The text was updated successfully, but these errors were encountered: