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
The following template fails with DOM node not found:
template = "{{ #todos }}{{ name }}{{ /todos }}"; data = { todos: new can.Observe.List([{id: 1, name: 'Dishes'}]) };
This templates works if todos is a plain array or if {{ name }} is changed to <span>{{ name }}</span>.
todos
{{ name }}
<span>{{ name }}</span>
Originally reported here.
The text was updated successfully, but these errors were encountered:
This also occurs in EJS with the equivalent template:
template = '<% can.each(todos, function(todo) { %><%= todo.attr("name") %><% }) %>'
Sorry, something went wrong.
Added test for DOM issue when rendering templates that iterate an obs…
5cda9ad
…erve list #153
53eef36
Fixed live binding issues when iterating through Observe.Lists where …
306fbf9
…the interior items don't have surrounding DOM nodes #153
Fixing conflicts #153
96b67a6
Fixed an issue where YUI's event cleanup wasn't working properly with…
bb1db91
… document fragments #153
No branches or pull requests
The following template fails with DOM node not found:
This templates works if
todos
is a plain array or if{{ name }}
is changed to<span>{{ name }}</span>
.Originally reported here.
The text was updated successfully, but these errors were encountered: