(options, ID, model)
| 51 | } |
| 52 | |
| 53 | constructor (options, ID, model) { |
| 54 | super(options) |
| 55 | this.ID = ID |
| 56 | this.model = model |
| 57 | this.original = new this.model({ _id: this.ID }) |
| 58 | this.original = this.supermodel.loadModel(this.original).model |
| 59 | this.listenToOnce(this.original, 'sync', this.onViewSync) |
| 60 | } |
| 61 | |
| 62 | onViewSync () { |
| 63 | this.versions = new VersionsViewCollection(this.url, this.original.attributes.original, this.model) |
nothing calls this directly
no outgoing calls
no test coverage detected