diff --git a/package.json b/package.json index 19f463f..cbd7cf5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@antv/data-set", - "version": "0.10.1", + "version": "0.10.2", "description": "data set with state management", "main": "build/data-set.js", "browser": "build/data-set.js", diff --git a/src/util/get-series-values.js b/src/util/get-series-values.js index e703b5c..a235448 100644 --- a/src/util/get-series-values.js +++ b/src/util/get-series-values.js @@ -1,6 +1,6 @@ module.exports = (extent, bw) => { - let bandwidth = bw || 1; + const bandwidth = bw || 1; const [ min, max ] = extent; const values = []; let tmp = min;