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 2019/12/31 02:43:55 UTC

[incubator-echarts] branch fix-11451 created (now ea331c5)

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

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


      at ea331c5  fix(map): fix slice is not defined error on typed array. #11451

This branch includes the following new commits:

     new ea331c5  fix(map): fix slice is not defined error on typed array. #11451

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-echarts] 01/01: fix(map): fix slice is not defined error on typed array. #11451

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit ea331c5b113d8c68687a32b8fe262acc9d751d3d
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Dec 31 10:43:19 2019 +0800

    fix(map): fix slice is not defined error on typed array. #11451
---
 src/component/helper/MapDraw.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/component/helper/MapDraw.js b/src/component/helper/MapDraw.js
index 5957b23..d1943c0 100644
--- a/src/component/helper/MapDraw.js
+++ b/src/component/helper/MapDraw.js
@@ -182,7 +182,7 @@ MapDraw.prototype = {
         var group = this.group;
 
         if (geo._roamTransformable.transform) {
-            group.transform = geo._roamTransformable.transform.slice();
+            group.transform = Array.prototype.slice.call(geo._roamTransformable.transform);
             group.decomposeTransform();
         }
 


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