(options)
| 289 | } |
| 290 | |
| 291 | fetch (options) { |
| 292 | if (!options) { options = {} } |
| 293 | if (options.data == null) { options.data = {} } |
| 294 | if (this.project) { options.data.project = this.project.join(',') } |
| 295 | // console.error @constructor.className, @, "fetching with cache?", options.cache, "options", options # Useful for debugging cached IE fetches |
| 296 | if (options.callOz) { |
| 297 | const url = options.url || this.getURL() |
| 298 | options.url = utils.getProductUrl('OZ', url) |
| 299 | } |
| 300 | this.jqxhr = super.fetch(options) |
| 301 | this.loading = true |
| 302 | return this.jqxhr |
| 303 | } |
| 304 | |
| 305 | fetchAsPromise (options = {}) { |
| 306 | const jqxhr = this.fetch(options) |
no test coverage detected