3 ms·
I'd do: class Player extends Backbone.Events And that would deal with this part: class Player constructor: (attributes) -> _.extend(thi
by igorgue 15y ago
I'd do:
class Player extends Backbone.Events
And that would deal with this part:
class Player
constructor: (attributes) ->
_.extend(this, Backbone.Events)
_.extend(this, attributes)