mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-27 15:43:08 +02:00
Bye bye polyfill
This commit is contained in:
parent
2a57eab327
commit
c518401f53
2 changed files with 0 additions and 4 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue