ios: try babel polyfills

This commit is contained in:
jean-emmanuel 2018-11-09 02:08:21 +01:00
parent 40f8929321
commit 5d2c424bb7
4 changed files with 8 additions and 10 deletions

View file

@ -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