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

Bug with stache using view/bindings #966

Closed
moschel opened this issue May 6, 2014 · 2 comments
Closed

Bug with stache using view/bindings #966

moschel opened this issue May 6, 2014 · 2 comments
Labels
Milestone

Comments

@moschel
Copy link
Contributor

moschel commented May 6, 2014

Found a bug trying to convert mustache templates to stache templates. Demonstrated here.

The actual error is Uncaught TypeError: Cannot read property 'appendChild' of undefined inserted.js:51

The same template works in mustache. Reproducing this requires several oddities in the template, including a newline character. That template appears to be minimal, and removing parts cause the bug not to show up.

@justinbmeyer
Copy link
Contributor

This is a problem with can/view/target

justinbmeyer added a commit that referenced this issue May 6, 2014
@ccummings ccummings added this to the 2.1.1 milestone May 7, 2014
@ccummings ccummings added the Bug label May 7, 2014
justinbmeyer added a commit that referenced this issue May 16, 2014
@ccummings
Copy link
Contributor

Fixed in master

gsmeets pushed a commit to gsmeets/canjs that referenced this issue Aug 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants