Bye bye polyfill
This commit is contained in:
parent
7f753253e4
commit
faad78e776
2 changed files with 0 additions and 4 deletions
|
@ -148,7 +148,6 @@
|
||||||
"uuid": "3.0.1",
|
"uuid": "3.0.1",
|
||||||
"vhost": "3.0.2",
|
"vhost": "3.0.2",
|
||||||
"websocket": "1.0.24",
|
"websocket": "1.0.24",
|
||||||
"whatwg-fetch": "2.0.3",
|
|
||||||
"xml2json": "0.11.0"
|
"xml2json": "0.11.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,9 +26,6 @@ riot.mixin({
|
||||||
CONFIG
|
CONFIG
|
||||||
});
|
});
|
||||||
|
|
||||||
// ↓ iOS待ちPolyfill (SEE: http://caniuse.com/#feat=fetch)
|
|
||||||
require('whatwg-fetch');
|
|
||||||
|
|
||||||
// ↓ NodeList、HTMLCollection、FileList、DataTransferItemListで forEach を使えるようにする
|
// ↓ NodeList、HTMLCollection、FileList、DataTransferItemListで forEach を使えるようにする
|
||||||
if (NodeList.prototype.forEach === undefined) {
|
if (NodeList.prototype.forEach === undefined) {
|
||||||
NodeList.prototype.forEach = Array.prototype.forEach;
|
NodeList.prototype.forEach = Array.prototype.forEach;
|
||||||
|
|
Loading…
Reference in a new issue