Bye bye polyfill

This commit is contained in:
syuilo 2017-03-31 00:01:58 +09:00
parent 7f753253e4
commit faad78e776
2 changed files with 0 additions and 4 deletions

View file

@ -148,7 +148,6 @@
"uuid": "3.0.1",
"vhost": "3.0.2",
"websocket": "1.0.24",
"whatwg-fetch": "2.0.3",
"xml2json": "0.11.0"
}
}

View file

@ -26,9 +26,6 @@ riot.mixin({
CONFIG
});
// ↓ iOS待ちPolyfill (SEE: http://caniuse.com/#feat=fetch)
require('whatwg-fetch');
// ↓ NodeList、HTMLCollection、FileList、DataTransferItemListで forEach を使えるようにする
if (NodeList.prototype.forEach === undefined) {
NodeList.prototype.forEach = Array.prototype.forEach;