You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2018/08/26 06:15:58 UTC
[incubator-echarts] branch master updated: style(use var instead of
const):
This is an automated email from the ASF dual-hosted git repository.
ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git
The following commit(s) were added to refs/heads/master by this push:
new 75c02aa style(use var instead of const):
75c02aa is described below
commit 75c02aab062854e738aa416aa8075f43b9439a88
Author: Ovilia <zw...@gmail.com>
AuthorDate: Sun Aug 26 14:15:43 2018 +0800
style(use var instead of const):
---
src/model/Series.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/model/Series.js b/src/model/Series.js
index dfe3250..395a096 100644
--- a/src/model/Series.js
+++ b/src/model/Series.js
@@ -371,8 +371,8 @@ var SeriesModel = ComponentModel.extend({
}
}
- const newLine = vertially ? (isRichText ? '\n' : '<br/>') : '';
- const content = newLine + result.join(newLine || ', ');
+ var newLine = vertially ? (isRichText ? '\n' : '<br/>') : '';
+ var content = newLine + result.join(newLine || ', ');
return {
renderMode: renderMode,
content: content,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org