mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 13:56:35 +00:00
Add Object.values polyfill (#858)
This commit is contained in:
parent
384d5fc8a9
commit
da807dc508
@ -3,3 +3,7 @@ import 'unfetch/polyfill';
|
||||
import objAssign from 'es6-object-assign';
|
||||
|
||||
objAssign.polyfill();
|
||||
|
||||
if (Object.values === undefined) {
|
||||
Object.values = target => Object.keys(target).map(key => target[key]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user