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
Template helper for any component instance away has context of the first initialized instance.
http://jsfiddle.net/xKc3H/246/
The issue can be solved if to modify helpers setup in component.js by replacing
helpers = this.helpers || {};
with
helpers = can.extend({}, this.helpers)
The text was updated successfully, but these errors were encountered:
Yup, makes sense. helpers is doesn't change pointers whereas you turn it into a new object.
Adding a test based on your fiddle as well that reflects the change/issue.
Sorry, something went wrong.
4e1580e
Merge pull request #518 from bitovi/515-component-helpers
8115deb
Fix to multiple tags not necessarily having the right context. Close #515
Shoot. Fixed this last night but did not push.
Sent from my iPhone
On Oct 29, 2013, at 3:29 PM, Josh Dean notifications@github.com wrote: Closed #515 via 4e1580e. — Reply to this email directly or view it on GitHub.
On Oct 29, 2013, at 3:29 PM, Josh Dean notifications@github.com wrote:
Closed #515 via 4e1580e.
— Reply to this email directly or view it on GitHub.
adds some more examples to component, fixes #515, and allows content …
741165a
…to be called many times
No branches or pull requests
Template helper for any component instance away has context of the first initialized instance.
http://jsfiddle.net/xKc3H/246/
The issue can be solved if to modify helpers setup in component.js by replacing
with
The text was updated successfully, but these errors were encountered: