frontend/js/compatibility.js
2018-02-01 16:16:53 -08:00

10 lines
253 B
JavaScript

import 'mdn-polyfills/Array.prototype.includes';
import 'unfetch/polyfill';
import objAssign from 'es6-object-assign';
objAssign.polyfill();
if (Object.values === undefined) {
Object.values = target => Object.keys(target).map(key => target[key]);
}