wikijs-fork/client/helpers/compatibility.js

11 lines
234 B
JavaScript
Raw Normal View History

2018-09-04 04:46:24 +00:00
require('@babel/polyfill')
// =======================================
// Fetch polyfill
// =======================================
// Requirement: Safari 9 and below, IE 11 and below
if (!window.fetch) {
require('whatwg-fetch')
}