Fix supermodel.trackModel

This commit is contained in:
phoenixeliot 2016-03-01 10:33:38 -08:00
parent 9e8e865049
commit 939265a119

View file

@ -83,7 +83,7 @@ module.exports = class SuperModel extends Backbone.Model
# Eventually should use only these functions. Use SuperModel just to track progress.
trackModel: (model, value) ->
res = @addModelResource(collection, '', {}, value)
res = @addModelResource(model, '', {}, value)
res.listen()
trackCollection: (collection, value) ->