Bug with stache using view/bindings #966

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

Comments

Projects
None yet
3 participants
@moschel
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

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer May 6, 2014

Contributor

This is a problem with can/view/target

Contributor

justinbmeyer commented May 6, 2014

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

This comment has been minimized.

Show comment
Hide comment
@ccummings

ccummings May 16, 2014

Contributor

Fixed in master

Contributor

ccummings commented May 16, 2014

Fixed in master

@ccummings ccummings closed this May 16, 2014

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