(options = {})
| 303 | } |
| 304 | |
| 305 | fetchAsPromise (options = {}) { |
| 306 | const jqxhr = this.fetch(options) |
| 307 | return new Promise((resolve, reject) => { |
| 308 | jqxhr.then(() => resolve(this), reject) |
| 309 | }) |
| 310 | } |
| 311 | |
| 312 | markToRevert () { |
| 313 | if (this.type() === 'ThangType') { |
no test coverage detected