You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/08/06 07:46:30 UTC

[incubator-echarts] branch release updated: remove unnecessary var declaration

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git


The following commit(s) were added to refs/heads/release by this push:
     new c16913c  remove unnecessary var declaration
     new 59f9861  Merge pull request #13085 from easonyq/fix-13009
c16913c is described below

commit c16913c48282033bbf49b8e377f0898d4133513d
Author: Eason Wang <yi...@microsoft.com>
AuthorDate: Thu Aug 6 14:54:27 2020 +0800

    remove unnecessary var declaration
---
 src/chart/bar/BarView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chart/bar/BarView.js b/src/chart/bar/BarView.js
index 63aae9b..fe45122 100644
--- a/src/chart/bar/BarView.js
+++ b/src/chart/bar/BarView.js
@@ -192,7 +192,7 @@ export default echarts.extendChartView({
                         bgEl = createBackground(oldIndex);
                     }
                     else {
-                        var bgEl = oldBgEls[oldIndex];
+                        bgEl = oldBgEls[oldIndex];
                         bgEl.useStyle(backgroundModel.getBarItemStyle());
                         // Only cartesian2d support borderRadius.
                         if (coord.type === 'cartesian2d') {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org