Commit Graph

7 Commits

Author SHA1 Message Date
addyosmani
3cf1bb4ed5 Updating with latest version from TodoMVC
As requested in #1044, here's the latest version of the Backbone.js
Todo app as rewritten by our project.

We started out with the 0.5 base and re-wrote it to cover some subtle
best practices we thought were important. Ours, like the current one
also uses the latest Backbone and jQuery 1.7.1. As part of the changes,
we also introduced two differences in the UX:

* When in edit mode, if a todo item is emptied and then blurred, the
item is removed. This contrasts with the current behaviour of the app
in the official repo at the moment which maintains the empty item in
place (albeit looking a little broken
http://addyosmani.com/gyazo/bbd4cd.png)

* We removed the tooltip occasionally seen when a user was trying to
add a new item. Having discussed this with developers frequently using
the Todo app as an initial point of reference, it was a consensus that
the notification didn't really offer that much value nor did it really
show anything that Backbone-specific worth keeping it in for.

We usually enforce examples separate concerns (Models, Views etc.) into
their own directories pre-build, but I've reformatted it to match the
structure your current app takes so that it can be more easily diffed.

I hope it's worth considering our version for a merge. We're happy to
take on any feedback needed to update it to address concerns you might
have.
2012-02-27 21:41:27 +00:00
Jeremy Ashkenas
cfc98b0f18 Tiny tweaks to the todo app demo. 2011-08-18 21:10:21 -04:00
Jeremy Ashkenas
22f5a33a0e Fixing line-heights on multi-line todos 2010-10-25 17:01:46 -04:00
Jeremy Ashkenas
d6e57b334c Adding a hover-able destroy icon 2010-10-25 15:48:34 -04:00
Jeremy Ashkenas
62f43bde9d cleaning up generated CSS 2010-10-25 15:44:31 -04:00
Jeremy Ashkenas
3a47769a7e Nice improvements to the rendering ... more templates, less javascript. 2010-10-25 15:33:33 -04:00
Jeremy Ashkenas
092131db0a A little further on. 2010-10-25 14:58:22 -04:00