You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2023/06/14 04:55:46 UTC

[echarts] branch master updated: fix(api): only deprecate disConnect but not disconnect

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

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ef4d3b8b fix(api): only deprecate disConnect but not disconnect
     new f27b086b2 Merge pull request #18758 from Justineo/fix-disconnect
8ef4d3b8b is described below

commit 8ef4d3b8b09a9268fa7cf6c6a7c92c4657580c79
Author: Justineo <ju...@gmail.com>
AuthorDate: Wed Jun 14 12:15:31 2023 +0800

    fix(api): only deprecate disConnect but not disconnect
---
 src/core/echarts.ts | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/core/echarts.ts b/src/core/echarts.ts
index fe8fc3832..fa8ccfbef 100644
--- a/src/core/echarts.ts
+++ b/src/core/echarts.ts
@@ -2724,17 +2724,15 @@ export function connect(groupId: string | EChartsType[]): string {
     return groupId as string;
 }
 
-/**
- * @deprecated
- */
-export function disConnect(groupId: string): void {
+export function disconnect(groupId: string): void {
     connectedGroups[groupId] = false;
 }
 
 /**
  * Alias and backward compatibility
+ * @deprecated
  */
-export const disconnect = disConnect;
+export const disConnect = disconnect;
 
 /**
  * Dispose a chart instance


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