mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-30 19:06:59 -05:00
Merge branch 'master' of https://github.com/swapkh91/codecombat into swapkh91-master
Conflicts: app/models/SuperModel.coffee
This commit is contained in:
parent
fae9034dfc
commit
8001e58848
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class SuperModel
|
|||
continue if @models[refURL]
|
||||
@models[refURL] = ref
|
||||
ref.fetch()
|
||||
ref.once 'sync', @modelLoaded, @
|
||||
@listenToOnce(ref, 'sync', @modelLoaded)
|
||||
|
||||
@trigger 'loaded-one', model: model
|
||||
@trigger 'loaded-all' if @finished()
|
||||
|
|
Loading…
Reference in a new issue