Skip to content

Commit

Permalink
Merge pull request apache#13088 from apache/fix/remove-es6-code
Browse files Browse the repository at this point in the history
style: remove unexpected es6 code
  • Loading branch information
pissang authored Aug 6, 2020
2 parents 106b948 + 7d0d325 commit 68e965f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/timeline/SliderTimelineView.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 68e965f

Please sign in to comment.