wikijs-fork/client/js/compatibility.js

11 lines
233 B
JavaScript

require('babel-polyfill')
// =======================================
// Fetch polyfill
// =======================================
// Requirement: Safari 9 and below, IE 11 and below
if (!window.fetch) {
require('whatwg-fetch')
}