Skip to content

Commit 9711002

Browse files
authored
Merge pull request #19473 from striezel-stash/fix-typos
chore: fix some typos
2 parents 9d61cbc + 0df7c0d commit 9711002

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ exports.createECharts = function (opt = {}) {
108108
opt,
109109
{
110110
name: 'echarts',
111-
// Ignore default exports, which is only for compitable code like:
111+
// Ignore default exports, which is only for compatible code like:
112112
// import echarts from 'echarts/lib/echarts';
113113
exports: 'named',
114114
format: format

build/pre-publish.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
/**
2121
* [Create CommonJS files]:
22-
* Compatible with prevoius folder structure: `echarts/lib` exists in `node_modules`
22+
* Compatible with previous folder structure: `echarts/lib` exists in `node_modules`
2323
* (1) Build all files to CommonJS to `echarts/lib`.
2424
* (2) Remove __DEV__.
2525
* (3) Mount `echarts/src/export.js` to `echarts/lib/echarts.js`.
@@ -206,7 +206,7 @@ module.exports = async function () {
206206
};
207207

208208
async function runTsCompile(localTs, compilerOptions, srcPathList) {
209-
// Must do it. becuase the value in tsconfig.json might be different from the inner representation.
209+
// Must do it, because the value in tsconfig.json might be different from the inner representation.
210210
// For example: moduleResolution: "NODE" => moduleResolution: 2
211211
const {options, errors} = localTs.convertCompilerOptionsFromJson(compilerOptions, ecDir);
212212

src/data/helper/sourceHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export function querySeriesUpstreamDatasetModel(
314314
export function queryDatasetUpstreamDatasetModels(
315315
datasetModel: DatasetModel
316316
): DatasetModel[] {
317-
// Only these attributes declared, we by defualt reference to `datasetIndex: 0`.
317+
// Only these attributes declared, we by default reference to `datasetIndex: 0`.
318318
// Otherwise, no reference.
319319
if (!datasetModel.get('transform', true)
320320
&& !datasetModel.get('fromTransformResult', true)

0 commit comments

Comments
 (0)