Reputation: 79612
I'd like to simplify the TodoMVC app for meteor. There is currently some observe
that should not be needed I think. I simplified a bit successfully, but when I try to simplify it further the updating doesn't work properly.
For instance, it should get selected when I click on all the items in the todo list but doesn't. When I refresh the page it is selected though.
Edit: Got rid of an unrelated error, thanks to @TomColeman.
Upvotes: 0
Views: 458
Reputation: 79612
Turns out it simply was because the correct html is checked="checked"
, not simply checked
.
Upvotes: 0
Reputation: 3037
I'm seeing that error before the patch is applied. It's due to the Meteor.flush
on line 74.
I'm not sure why that flush is needed? (I'm also not sure why there's an error either).
Upvotes: 1