ios: try babel polyfills
This commit is contained in:
parent
40f8929321
commit
5d2c424bb7
4 changed files with 8 additions and 10 deletions
|
|
@ -1,12 +1,3 @@
|
|||
if (!Object.values) {
|
||||
|
||||
Object.values = function(e){
|
||||
// @https://github.com/JoHNNyRiver/poyfillObject
|
||||
return Array.prototype.map.call(Object.keys(e), function(t,r){return e[t]})
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (!NodeList.prototype.forEach) {
|
||||
|
||||
NodeList.prototype.forEach = Array.prototype.forEach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue