You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2019/09/29 08:12:42 UTC

[incubator-echarts] 02/04: chore: tweak code style.

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

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

commit 7dc0b7a33bd9ce669a9e5715172ac9e3fb42dde3
Author: SHUANG SU <su...@gmail.com>
AuthorDate: Sat Sep 28 01:06:15 2019 +0800

    chore: tweak code style.
---
 src/coord/geo/GeoModel.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/coord/geo/GeoModel.js b/src/coord/geo/GeoModel.js
index 96a672e..528b48a 100644
--- a/src/coord/geo/GeoModel.js
+++ b/src/coord/geo/GeoModel.js
@@ -148,11 +148,11 @@ var GeoModel = ComponentModel.extend({
      */
     getFormattedLabel: function (name, status) {
         var regionModel = this.getRegionModel(name);
-        var formatter = regionModel.get('label'
-            + (status === 'normal'
-                ? '.'
-                : status + '.')
-            + 'formatter');
+        var formatter = regionModel.get(
+            'label'
+            + (status === 'normal' ? '.' : status + '.')
+            + 'formatter'
+        );
         var params = {
             name: name
         };


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