mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Fixed a small error in the migration.
This commit is contained in:
parent
8001e58848
commit
092810eba2
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class SuperModel
|
|||
@mustPopulate = model
|
||||
model.saveBackups = @shouldSaveBackups(model)
|
||||
model.fetch() unless model.loaded or model.loading
|
||||
@listenTo(model, 'sync', @modelLoaded) unless model.loaded
|
||||
@listenToOnce(model, 'sync', @modelLoaded) unless model.loaded
|
||||
@listenToOnce(model, 'error', @modelErrored) unless model.loaded
|
||||
url = model.url()
|
||||
@models[url] = model unless @models[url]?
|
||||
|
|
Loading…
Reference in a new issue