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 2021/09/29 04:22:13 UTC

[echarts] branch master updated: Fix a few typos (unkown -> unknown)

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

shenyi 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 f38c6aa  Fix a few typos (unkown -> unknown)
     new df2f676  Merge pull request #15808 from johanvdw/fixtypos
f38c6aa is described below

commit f38c6aaf06ee2d2ed7d2650392ae3d2e97b2efe7
Author: Johan Van de Wauw <jo...@gisky.be>
AuthorDate: Tue Sep 28 17:00:33 2021 +0200

    Fix a few typos (unkown -> unknown)
---
 .github/workflows/source-release.yml |  2 +-
 dist/echarts.js                      | 12 ++++++------
 src/model/Model.ts                   |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/source-release.yml b/.github/workflows/source-release.yml
index cb91c47..e179fea 100644
--- a/.github/workflows/source-release.yml
+++ b/.github/workflows/source-release.yml
@@ -77,7 +77,7 @@ jobs:
 
       # TODO Check release version is RC
 
-      # Archive before run others to avoid packing unkown files.
+      # Archive before run others to avoid packing unknown files.
       - name: Archive source release
         uses: actions/upload-artifact@v2
         with:
diff --git a/dist/echarts.js b/dist/echarts.js
index 2cfd82d..6ce2c90 100644
--- a/dist/echarts.js
+++ b/dist/echarts.js
@@ -18354,7 +18354,7 @@
                     if (seriesImportName) {
                       error("Series " + subType + " is used but not imported.\nimport { " + seriesImportName + " } from 'echarts/charts';\necharts.use([" + seriesImportName + "]);");
                     } else {
-                      error("Unkown series " + subType);
+                      error("Unknown series " + subType);
                     }
                   }
                 }
@@ -24765,7 +24765,7 @@
       var styleMapper = seriesModel.visualStyleMapper || defaultStyleMappers[stylePath];
 
       if (!styleMapper) {
-        console.warn("Unkown style type '" + stylePath + "'.");
+        console.warn("Unknown style type '" + stylePath + "'.");
         return defaultStyleMappers.itemStyle;
       }
 
@@ -24777,7 +24777,7 @@
       var colorKey = seriesModel.visualDrawType || defaultColorKey[stylePath];
 
       if (!colorKey) {
-        console.warn("Unkown style type '" + stylePath + "'.");
+        console.warn("Unknown style type '" + stylePath + "'.");
         return 'fill';
       }
 
@@ -32813,7 +32813,7 @@
 
         if ("development" !== 'production') {
           if (dimIdx == null) {
-            throw new Error('Unkown dimension ' + dim);
+            throw new Error('Unknown dimension ' + dim);
           }
         }
 
@@ -41256,7 +41256,7 @@
                     layer = this.getLayer(zlevel + (incrementalLayerCount > 0 ? EL_AFTER_INCREMENTAL_INC : 0), this._needsManuallyCompositing);
                 }
                 if (!layer.__builtin__) {
-                    logError('ZLevel ' + zlevel + ' has been used by unkown layer ' + layer.id);
+                    logError('ZLevel ' + zlevel + ' has been used by unknown layer ' + layer.id);
                 }
                 if (layer !== prevLayer) {
                     layer.__used = true;
@@ -68031,7 +68031,7 @@
           var CoordSys = CoordinateSystemManager.get(option.coordinateSystem);
 
           if (!CoordSys) {
-            throw new Error('Unkown coordinate system ' + option.coordinateSystem);
+            throw new Error('Unknown coordinate system ' + option.coordinateSystem);
           }
         }
 
diff --git a/src/model/Model.ts b/src/model/Model.ts
index 160c825..0a41fc0 100644
--- a/src/model/Model.ts
+++ b/src/model/Model.ts
@@ -45,7 +45,7 @@ import { mixin, clone, merge } from 'zrender/src/core/util';
 // eslint-disable-next-line @typescript-eslint/no-unused-vars
 interface Model<Opt = ModelOption>
     extends LineStyleMixin, ItemStyleMixin, TextStyleMixin, AreaStyleMixin {}
-class Model<Opt = ModelOption> {    // TODO: TYPE use unkown insteadof any?
+class Model<Opt = ModelOption> {    // TODO: TYPE use unknown instead of any?
 
     // [Caution]: Becuase this class or desecendants can be used as `XXX.extend(subProto)`,
     // the class members must not be initialized in constructor or declaration place.

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