This is an automated email from the ASF dual-hosted git repository. shenyi pushed a commit to branch fix/remove-es6-code in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/fix/remove-es6-code by this push: new 7d0d325 style: remove unexpected es6 code 7d0d325 is described below commit 7d0d325c52e1718f50ac7773599b5be50594e1cd Author: pissang <bm2736...@gmail.com> AuthorDate: Thu Aug 6 16:58:41 2020 +0800 style: remove unexpected es6 code --- src/component/timeline/SliderTimelineView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/component/timeline/SliderTimelineView.js b/src/component/timeline/SliderTimelineView.js index 216d376..a9e4b6b 100644 --- a/src/component/timeline/SliderTimelineView.js +++ b/src/component/timeline/SliderTimelineView.js @@ -618,8 +618,8 @@ function getViewRect(model, api) { } function makeIcon(timelineModel, objPath, rect, opts) { - const style = opts.style; - const icon = graphic.createIcon( + var style = opts.style; + var icon = graphic.createIcon( timelineModel.get(objPath), opts || {}, new BoundingRect(rect[0], rect[1], rect[2], rect[3]) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org