This is an automated email from the ASF dual-hosted git repository. wangzx pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
The following commit(s) were added to refs/heads/gh-pages by this push: new 88754e3e chore: fix some typos new 190b186f Merge pull request #56 from striezel-stash/fix-typo 88754e3e is described below commit 88754e3e6b0d5f03651e370a86005dfec4713c8c Author: Dirk Stolle <striezel-...@web.de> AuthorDate: Wed Oct 26 15:18:42 2022 +0200 chore: fix some typos --- common/buildCode.js | 2 +- e2e/main.js | 4 ++-- src/editor/Preview.vue | 2 +- tool/build-example.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/common/buildCode.js b/common/buildCode.js index 852113bc..43a5b704 100644 --- a/common/buildCode.js +++ b/common/buildCode.js @@ -409,7 +409,7 @@ module.exports.buildExampleCode = function ( } if (minimal && !esm) { - // Only legacy mode can be used when use require in mimimal bundle. + // Only legacy mode can be used when use require in minimal bundle. legacy = true; } diff --git a/e2e/main.js b/e2e/main.js index cb8de9a5..005966e9 100644 --- a/e2e/main.js +++ b/e2e/main.js @@ -218,13 +218,13 @@ async function installPackages(config) { console.error(`shell fail: npm install ${publishedPackages[depPkgName].targetTgzFilePath}`); process.exit(1); } - // After the npm install above, the package.json will be modifiedt to like: + // After the npm install above, the package.json will be modified to like: // "dependencies": ["zredner": "file:../echarts-examples/e2e/tmp/packages/zrender-5.3.2.tgz"] // which is a relative path and not correct if the tgz is copied to another place in // the latter process. // If we use --no-save, the latter npm install by tgz may not use the version of zrender that // config.js specified. - // So we modifiy the version mandatorily to the version that config.js specified. + // So we modify the version mandatorily to the version that config.js specified. // In the latter npm install by tgz, the zrender will be installed firstly. And when echarts // is installing, it found the right version of zrender has been installed, and do not install // zrender separately. diff --git a/src/editor/Preview.vue b/src/editor/Preview.vue index 0202f9cf..98398c9b 100644 --- a/src/editor/Preview.vue +++ b/src/editor/Preview.vue @@ -519,7 +519,7 @@ export default { ); this.allEChartsVersions = versions; - // Use lastest version + // Use latest version if ( !store.echartsVersion || store.echartsVersion === '5' || diff --git a/tool/build-example.js b/tool/build-example.js index 2ce36dc5..fa228c4f 100644 --- a/tool/build-example.js +++ b/tool/build-example.js @@ -44,7 +44,7 @@ parser.addArgument(['-t', '--theme'], { help: 'Theme list, default to be all' }); parser.addArgument(['-p', '--pattern'], { - help: 'Glob match patterns for generating thumb. https://github.com/isaacs/minimatch Mutiple match pattens can be splitted with ,' + help: 'Glob match patterns for generating thumb. https://github.com/isaacs/minimatch Multiple match pattens can be split with ,' }); parser.addArgument(['--no-thumb'], { help: 'If not generate thumbs', @@ -312,7 +312,7 @@ async function takeScreenshot( .map((a) => a.trim()) .filter((a) => !!a); if (!exampleList.find((item) => item.id === basename)) { - // Avoid add mulitple times when has multiple themes. + // Avoid add multiple times when has multiple themes. exampleList.push({ category: category, id: basename, --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org