It doesn’t make much sense to generate a random key for each todo render, because it will re-draw all todo’s DOM nodes on each model change. I changed it to the unique identifier ``todo.cid`` already supplied by the backbone model. |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| thirdparty | ||
| README.md | ||
| index.html | ||
README.md
TodoMVC-Backbone
This is a lightweight version of TodoMVC. Its primary purpose is to demo the Backbone integration rather than being feature-complete (refer to todomvc-director for a full TodoMVC-compilant app).