mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
8 lines
200 B
CoffeeScript
8 lines
200 B
CoffeeScript
|
module.exports = class CocoCollection extends Backbone.Collection
|
||
|
loaded: false
|
||
|
|
||
|
initialize: ->
|
||
|
super()
|
||
|
@once 'sync', =>
|
||
|
@loaded = true
|
||
|
model.loaded = true for model in @models
|