(original, options)
| 609 | wait (event) { return new Promise(resolve => this.once(event, resolve)) } |
| 610 | |
| 611 | fetchLatestVersion (original, options) { |
| 612 | if (options == null) { options = {} } |
| 613 | options.url = _.result(this, 'urlRoot') + '/' + original + '/version' |
| 614 | return this.fetch(options) |
| 615 | } |
| 616 | } |
| 617 | CocoModel.initClass() |
| 618 |
no test coverage detected