mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Fixed schema loading.
This commit is contained in:
parent
abaf32fc7a
commit
8fe568d3a4
1 changed files with 1 additions and 2 deletions
|
@ -23,8 +23,7 @@ class CocoModel extends Backbone.Model
|
|||
if @constructor.schema?.loaded
|
||||
@addSchemaDefaults()
|
||||
else
|
||||
{me} = require 'lib/auth'
|
||||
@loadSchema() if me?.loaded
|
||||
@loadSchema()
|
||||
@once 'sync', @onLoaded, @
|
||||
@saveBackup = _.debounce(@saveBackup, 500)
|
||||
|
||||
|
|
Loading…
Reference in a new issue