diff --git a/elements/heatmap.js b/elements/heatmap.js index 8f79832..7e34bb7 100644 --- a/elements/heatmap.js +++ b/elements/heatmap.js @@ -15,6 +15,7 @@ class Heatmap extends Component { width: props.number, height: props.number, }; + connected() { if (!this.timeseries) { return; @@ -30,6 +31,7 @@ class Heatmap extends Component { this.data = values; }); } + renderer(renderRoot, render) { const root = renderRoot; while (root.firstChild) { diff --git a/package.json b/package.json index 7b83595..8ccecc7 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "babel-loader": "^8.0.0-beta.0", "babel-plugin-transform-class-properties": "^6.24.1", "copy-webpack-plugin": "^4.6.0", - "eslint": "^4.12.0", + "eslint": "^5.0.1", "eslint-config-airbnb-base": "^13.0.0", "eslint-plugin-import": "^2.8.0", "msgflo-nodejs": "^0.11.1",