File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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
208208async 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
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ export function querySeriesUpstreamDatasetModel(
314314export 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 )
You can’t perform that action at this time.
0 commit comments