From 55526ac5663b87cdc988fc579404df186603b2d9 Mon Sep 17 00:00:00 2001 From: leungwensen Date: Thu, 14 Feb 2019 10:08:01 +0800 Subject: [PATCH] 0.10.2 --- package.json | 2 +- src/util/get-series-values.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;