diff --git a/src/app/pages/charts/d3/d3.component.html b/src/app/pages/charts/d3/d3.component.html index b848d38b..bb1275bd 100644 --- a/src/app/pages/charts/d3/d3.component.html +++ b/src/app/pages/charts/d3/d3.component.html @@ -39,12 +39,4 @@ -
Early home automation began with labor-saving machines. Self-contained electric or gas powered - home appliances + home appliances became viable in the 1900s with the introduction of electric power distribution and led to the introduction of washing machines (1904), water heaters (1889), refrigerators, sewing machines, diff --git a/src/polyfills.ts b/src/polyfills.ts index d0418cde..d697c6a1 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -69,3 +69,9 @@ import 'zone.js/dist/zone'; // Included with Angular CLI. * Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10 */ import 'intl'; // Run `npm install --save intl`. + +import 'core-js/es7/array'; + +if (typeof SVGElement.prototype.contains === 'undefined') { + SVGElement.prototype.contains = HTMLDivElement.prototype.contains; +}