tastejs/todomvc — pull request #670 by bantic (2013-09-03 03:41:51+00:00)
Title: Ember 1.0.0 and Ember Data 1.0.0-beta.1

This updates the ember version of todomvc to the latest ember, version 1.0.0, and the latest ember data, version 1.0.0-beta.1. The code here is updated to use new ember 1.0 style and idioms as much as possible, and also to match the "[Getting Started](http://emberjs.com/guides/getting-started/)" official ember guide, which walks the reader through creating a todo app essentially the same as the one here.

* bindAttr, linkTo -> bind-attr, link-to
* quotes around strings (i.e., route names), no quotes around bound properties, in handlebars templates
* use `actions:` hash in controllers for actions
* Change names to more closely mirror the "getting started" guide at emberjs.com
* Add insert element lifecycle hooks by using `.on('didInsertElement')`
* Remove class name bound to nonexistent `buttonClass` property
* Change order of getter and setter in allAreDone to match getting started guide
* Use an outlet in 'todos' template and add 'todos/index' template.
* Remove 'text-cleared' custom view action to match "Getting Started" guide
* `isCompleted` property saves model when used as a setter
* `allAreDone` property saves changes when used as a setter