Skip to content

docs: fix typos in source code comments#21589

Closed
Bojun-Vvibe wants to merge 1 commit intoapache:masterfrom
Bojun-Vvibe:agent/apache_echarts-1776701374
Closed

docs: fix typos in source code comments#21589
Bojun-Vvibe wants to merge 1 commit intoapache:masterfrom
Bojun-Vvibe:agent/apache_echarts-1776701374

Conversation

@Bojun-Vvibe
Copy link
Copy Markdown

Repo: apache/echarts (⭐ 59000)
Type: docs
Files changed: 3
Lines: +3/-3

What

Fixes three small spelling mistakes in code comments across the ECharts source tree: spcefiedspecified in src/util/graphic.ts, beginingbeginning in src/component/legend/ScrollableLegendView.ts, and referingreferring in src/coord/matrix/MatrixBodyCorner.ts.

Why

These are pure comment fixes that improve readability and grep-ability of the codebase without changing any runtime behavior. Comments are documentation that contributors and maintainers read regularly, and consistent spelling helps when searching for terms or reviewing diffs.

Testing

No behavioral change — only comment text is modified. The TypeScript compiler treats comments as whitespace, so existing builds and tests remain unaffected. A git diff confirms only // comment lines are touched.

Risk

Low — comment-only changes with no impact on emitted JavaScript or type-checking.

- spcefied -> specified (src/util/graphic.ts)
- begining -> beginning (src/component/legend/ScrollableLegendView.ts)
- refering -> referring (src/coord/matrix/MatrixBodyCorner.ts)
@echarts-bot
Copy link
Copy Markdown

echarts-bot Bot commented Apr 20, 2026

Thanks for your contribution!
The community will review it ASAP. In the meanwhile, please checkout the coding standard and Wiki about How to make a pull request.

Please DO NOT commit the files in dist, i18n, and ssr/client/dist folders in a non-release pull request. These folders are for release use only.

To reviewers: If this PR is going to be described in the changelog in the future release, please make sure this PR has one of the following labels: PR: doc ready, PR: awaiting doc, PR: doc unchanged

This message is shown because the PR description doesn't contain the document related template.

@Bojun-Vvibe Bojun-Vvibe closed this by deleting the head repository Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants