Update poylfills (fixes #662)

This commit is contained in:
Thibaut Girka
2018-08-23 22:02:42 +02:00
committed by ThibG
parent fce248810b
commit 478f70a0e6
3 changed files with 41 additions and 3 deletions

View File

@ -12,11 +12,13 @@ function importExtraPolyfills() {
function loadPolyfills() {
const needsBasePolyfills = !(
Array.prototype.includes &&
HTMLCanvasElement.prototype.toBlob &&
window.Intl &&
Object.assign &&
Number.isNaN &&
window.Symbol &&
Array.prototype.includes
Object.assign &&
Object.values &&
window.Symbol
);
// Latest version of Firefox and Safari do not have IntersectionObserver.