fix(ie): add es7 object polyfill for IE

This commit is contained in:
Dmitry Nehaychik 2018-03-02 14:17:14 +03:00
parent b54ab9f79c
commit 0630fe7524

View file

@ -71,6 +71,7 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
import 'intl'; // Run `npm install --save intl`.
import 'intl/locale-data/jsonp/en';
import 'core-js/es7/array';
import 'core-js/es7/object';
if (typeof SVGElement.prototype.contains === 'undefined') {
SVGElement.prototype.contains = HTMLDivElement.prototype.contains;