Skip to content

Instantly share code, notes, and snippets.

@amerine
Created May 30, 2012 00:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amerine/2831753 to your computer and use it in GitHub Desktop.
Save amerine/2831753 to your computer and use it in GitHub Desktop.
lulz
class Foo extends Backbone.model
init: ->
@on "change:date change:time", ->
@set {correct_time: @get("date") + @get("time")},
this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment