Skip to content

Instantly share code, notes, and snippets.

View scastillo's full-sized avatar

Sebastian Castillo scastillo

View GitHub Profile
@seadowg
seadowg / frappuccino.coffee
Created August 13, 2012 01:13
Prototype FRP + Backbone collision
class Frappuccino.Backbone.Event extends Backbone.Event
event: (event_name) -> new Frappuccino.Event(this, event_name)
class Frappuccino.Event extends Backbone.Event
constructor: (origin, event) ->
@origin = origin
@event = event
@origin.bind(@event, (value) => this.occur(value))