Skip to content

Instantly share code, notes, and snippets.

View rosstimson's full-sized avatar

Ross Timson rosstimson

View GitHub Profile
@rosstimson
rosstimson / controller.coffee
Created June 4, 2011 21:00
SproutCore 2.0 ToDo App in CoffeeScript
# SproutCore 2.0 ToDo App in CoffeeScript
# BSD3, Jinjing Wang 2011
#
# Ross Timson: Added in a few CoffeeScript syntactic niceties
Todos = SC.Application.create()
Todos.Todo = SC.Object.extend
title: null
isDone: false