Introduction to Modern Web Development 7 - Production

Resources

polyfill
1
2
3
4
5
6
7
// polyfill if necessary for IE11
if (!(window.fetch && window.Promise)) {
var js = document.createElement('script')
js.src = 'https://polyfill.io/v3/polyfill.min.js?features=fetch%2CPromise'
js.crossorigin = 'anonymous'
document.head.appendChild(js)
}