@aurelia/fetch-client
Advanced tools
Comparing version
@@ -85,2 +85,3 @@ import { PLATFORM } from '@aurelia/kernel'; | ||
const delay = calculateDelay(retryConfig); | ||
// tslint:disable-next-line:no-string-based-set-timeout | ||
return new Promise(resolve => PLATFORM.global.setTimeout(resolve, !isNaN(delay) ? delay : 0)) | ||
@@ -87,0 +88,0 @@ .then(() => { |
@@ -86,2 +86,3 @@ this.au = this.au || {}; | ||
const delay = calculateDelay(retryConfig); | ||
// tslint:disable-next-line:no-string-based-set-timeout | ||
return new Promise(resolve => kernel.PLATFORM.global.setTimeout(resolve, !isNaN(delay) ? delay : 0)) | ||
@@ -88,0 +89,0 @@ .then(() => { |
@@ -96,2 +96,3 @@ System.register('fetchClient', ['@aurelia/kernel', '@aurelia/runtime'], function (exports, module) { | ||
const delay = calculateDelay(retryConfig); | ||
// tslint:disable-next-line:no-string-based-set-timeout | ||
return new Promise(resolve => PLATFORM.global.setTimeout(resolve, !isNaN(delay) ? delay : 0)) | ||
@@ -98,0 +99,0 @@ .then(() => { |
@@ -88,2 +88,3 @@ (function (global, factory) { | ||
const delay = calculateDelay(retryConfig); | ||
// tslint:disable-next-line:no-string-based-set-timeout | ||
return new Promise(resolve => kernel.PLATFORM.global.setTimeout(resolve, !isNaN(delay) ? delay : 0)) | ||
@@ -90,0 +91,0 @@ .then(() => { |
{ | ||
"name": "@aurelia/fetch-client", | ||
"version": "0.3.0-dev.20190205", | ||
"version": "0.3.0-dev.20190206", | ||
"main": "dist/index.umd.js", | ||
@@ -50,5 +50,5 @@ "module": "dist/index.es6.js", | ||
"dependencies": { | ||
"@aurelia/kernel": "^0.3.0-dev.20190205", | ||
"@aurelia/runtime": "^0.3.0-dev.20190205", | ||
"@aurelia/runtime-html": "^0.3.0-dev.20190205" | ||
"@aurelia/kernel": "^0.3.0-dev.20190206", | ||
"@aurelia/runtime": "^0.3.0-dev.20190206", | ||
"@aurelia/runtime-html": "^0.3.0-dev.20190206" | ||
}, | ||
@@ -90,3 +90,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "9204120b91d66e8c0997e9ec69599d5a4ff7de57" | ||
"gitHead": "2cabe507c76a2a01e0655d1e0de9e841ead8655b" | ||
} |
@@ -92,2 +92,3 @@ import { PLATFORM } from '@aurelia/kernel'; | ||
const delay = calculateDelay(retryConfig); | ||
// tslint:disable-next-line:no-string-based-set-timeout | ||
return new Promise(resolve => PLATFORM.global.setTimeout(resolve, !isNaN(delay) ? delay : 0)) | ||
@@ -94,0 +95,0 @@ .then(() => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
304324
0.22%3157
0.16%