Skip to content

Commit abc6fcf

Browse files
committed
fix(all): add corejs
1 parent 943e468 commit abc6fcf

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ System.config({
1717
"map": {
1818
"babel": "npm:babel-core@5.1.13",
1919
"babel-runtime": "npm:babel-runtime@5.1.13",
20-
"core-js": "npm:core-js@0.9.5",
20+
"core-js": "npm:core-js@0.9.18",
2121
"github:jspm/nodelibs-process@0.1.1": {
2222
"process": "npm:process@0.10.1"
2323
},
24-
"npm:core-js@0.4.10": {
25-
"process": "github:jspm/nodelibs-process@0.1.1"
26-
},
27-
"npm:core-js@0.9.5": {
24+
"npm:core-js@0.9.18": {
2825
"process": "github:jspm/nodelibs-process@0.1.1"
2926
}
3027
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
"directories": {
2626
"lib": "dist/amd"
2727
},
28-
"dependencies": {},
28+
"dependencies": {
29+
"core-js": "npm:core-js@^0.9.18"
30+
},
2931
"devDependencies": {
3032
"babel": "npm:babel-core@^5.1.13",
3133
"babel-runtime": "npm:babel-runtime@^5.1.13",

src/http-client-configuration.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import core from 'core-js';
2+
13
/**
24
* A class for configuring HttpClients.
35
*

src/http-client.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {HttpClientConfiguration} from './http-client-configuration';
22
import {mergeHeaders} from './util';
3+
import core from 'core-js';
34

45
/**
56
* An HTTP client based on the Fetch API.

0 commit comments

Comments
 (0)