()
| 19 | |
| 20 | class CocoModel extends Backbone.Model { |
| 21 | static initClass () { |
| 22 | this.prototype.idAttribute = '_id' |
| 23 | this.prototype.loaded = false |
| 24 | this.prototype.loading = false |
| 25 | this.prototype.saveBackups = false |
| 26 | this.prototype.notyErrors = true |
| 27 | this.schema = null |
| 28 | |
| 29 | this.prototype.attributesWithDefaults = undefined |
| 30 | |
| 31 | this.backedUp = {} |
| 32 | |
| 33 | CocoModel.pollAchievements = _.debounce(CocoModel.pollAchievements, 3000) |
| 34 | } |
| 35 | |
| 36 | constructor (attributes, options) { |
| 37 | super(...arguments) |
no outgoing calls
no test coverage detected