Skip to content

Commit

Permalink
Use ResizeObserver polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBower committed Nov 1, 2020
1 parent 219e5ea commit 6615dd2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
5 changes: 0 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@angular/platform-browser": "~9.1.7",
"@angular/platform-browser-dynamic": "~9.1.7",
"@angular/router": "~9.1.7",
"@types/resize-observer-browser": "^0.1.4",
"echarts": "^4.7.0",
"echarts-gl": "^1.1.1",
"ng-zorro-antd": "^9.1.2",
Expand Down Expand Up @@ -68,6 +67,7 @@
"prismjs": "^1.20.0",
"protractor": "~5.4.3",
"raw-loader": "^4.0.1",
"resize-observer-polyfill": "^1.5.1",
"ts-node": "~8.3.0",
"tslint": "~5.18.0",
"typescript": "~3.8.3"
Expand Down
1 change: 1 addition & 0 deletions projects/ngx-echarts/src/lib/ngx-echarts.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
Output,
SimpleChanges,
} from '@angular/core';
import ResizeObserver from 'resize-observer-polyfill';
import { Observable } from 'rxjs';
import { switchMap } from 'rxjs/operators';
import { ChangeFilter } from './change-filter';
Expand Down
7 changes: 1 addition & 6 deletions projects/ngx-echarts/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
"target": "es2015",
"declaration": true,
"inlineSources": true,
"typeRoots": [
"node_modules/@types"
],
"types": [
"resize-observer-browser"
],
"types": [],
"lib": [
"dom",
"es2018"
Expand Down

0 comments on commit 6615dd2

Please sign in to comment.