Total Complexity | 2 |
Complexity/F | 0 |
Lines of Code | 12 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | if (typeof Promise === 'undefined') { |
||
2 | require('promise/lib/rejection-tracking').enable(); |
||
3 | window.Promise = require('promise/lib/es6-extensions.js'); |
||
4 | } |
||
5 | |||
6 | require('whatwg-fetch'); |
||
7 | |||
8 | Object.assign = require('object-assign'); |
||
|
|||
9 | |||
10 | if (process.env.NODE_ENV === 'test') { |
||
11 | require('raf').polyfill(global); |
||
12 | } |
||
13 |