refactor: client structure + editor preview logic
This commit is contained in:
10
client/helpers/compatibility.js
Normal file
10
client/helpers/compatibility.js
Normal file
@@ -0,0 +1,10 @@
|
||||
require('babel-polyfill')
|
||||
|
||||
// =======================================
|
||||
// Fetch polyfill
|
||||
// =======================================
|
||||
// Requirement: Safari 9 and below, IE 11 and below
|
||||
|
||||
if (!window.fetch) {
|
||||
require('whatwg-fetch')
|
||||
}
|
Reference in New Issue
Block a user