Created
May 30, 2012 00:43
-
-
Save amerine/2831753 to your computer and use it in GitHub Desktop.
lulz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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