Fix supermodel.trackModel
This commit is contained in:
parent
9e8e865049
commit
939265a119
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ module.exports = class SuperModel extends Backbone.Model
|
||||||
|
|
||||||
# Eventually should use only these functions. Use SuperModel just to track progress.
|
# Eventually should use only these functions. Use SuperModel just to track progress.
|
||||||
trackModel: (model, value) ->
|
trackModel: (model, value) ->
|
||||||
res = @addModelResource(collection, '', {}, value)
|
res = @addModelResource(model, '', {}, value)
|
||||||
res.listen()
|
res.listen()
|
||||||
|
|
||||||
trackCollection: (collection, value) ->
|
trackCollection: (collection, value) ->
|
||||||
|
|
Reference in a new issue