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 0df7c0dc9 chore: fix some typos
     new 9711002f7 Merge pull request #19473 from striezel-stash/fix-typos
0df7c0dc9 is described below

commit 0df7c0dc9a9f56487ef4a66fbd459709e9d682c0
Author: Dirk Stolle <striezel-...@web.de>
AuthorDate: Sun Jan 7 00:47:43 2024 +0100

    chore: fix some typos
---
 build/config.js                 | 2 +-
 build/pre-publish.js            | 4 ++--
 src/data/helper/sourceHelper.ts | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build/config.js b/build/config.js
index 092f7b23a..9d639e476 100644
--- a/build/config.js
+++ b/build/config.js
@@ -108,7 +108,7 @@ exports.createECharts = function (opt = {}) {
             opt,
             {
                 name: 'echarts',
-                // Ignore default exports, which is only for compitable code 
like:
+                // Ignore default exports, which is only for compatible code 
like:
                 // import echarts from 'echarts/lib/echarts';
                 exports: 'named',
                 format: format
diff --git a/build/pre-publish.js b/build/pre-publish.js
index f590d1e79..cd99e6579 100644
--- a/build/pre-publish.js
+++ b/build/pre-publish.js
@@ -19,7 +19,7 @@
 
 /**
  * [Create CommonJS files]:
- * Compatible with prevoius folder structure: `echarts/lib` exists in 
`node_modules`
+ * Compatible with previous folder structure: `echarts/lib` exists in 
`node_modules`
  * (1) Build all files to CommonJS to `echarts/lib`.
  * (2) Remove __DEV__.
  * (3) Mount `echarts/src/export.js` to `echarts/lib/echarts.js`.
@@ -206,7 +206,7 @@ module.exports = async function () {
 };
 
 async function runTsCompile(localTs, compilerOptions, srcPathList) {
-    // Must do it. becuase the value in tsconfig.json might be different from 
the inner representation.
+    // Must do it, because the value in tsconfig.json might be different from 
the inner representation.
     // For example: moduleResolution: "NODE" => moduleResolution: 2
     const {options, errors} = 
localTs.convertCompilerOptionsFromJson(compilerOptions, ecDir);
 
diff --git a/src/data/helper/sourceHelper.ts b/src/data/helper/sourceHelper.ts
index f0277d3a1..d1aa89d5e 100644
--- a/src/data/helper/sourceHelper.ts
+++ b/src/data/helper/sourceHelper.ts
@@ -314,7 +314,7 @@ export function querySeriesUpstreamDatasetModel(
 export function queryDatasetUpstreamDatasetModels(
     datasetModel: DatasetModel
 ): DatasetModel[] {
-    // Only these attributes declared, we by defualt reference to 
`datasetIndex: 0`.
+    // Only these attributes declared, we by default reference to 
`datasetIndex: 0`.
     // Otherwise, no reference.
     if (!datasetModel.get('transform', true)
         && !datasetModel.get('fromTransformResult', true)


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

Reply via email to