Skip to content

docs: fix custom extension examples - #122

Merged
uidev1116 merged 1 commit into
appleple:masterfrom
dajiaohuang:w11-readme-custom-extensions-example-20261027
Oct 27, 2026
Merged

uidev1116 merged 1 commit into
appleple:masterfrom
dajiaohuang:w11-readme-custom-extensions-example-20261027

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

The README's custom extension examples could not be used as written: the examples left Extensions.push(new ...) unclosed, supplied class selectors with a leading dot even though the extension implementation uses className as the DOM class value, and the inline example imported Extension instead of the exported Extensions collection.

This corrects both examples and removes unused imports. git diff --check passed. No tests were run because this is a documentation-only change.

@uidev1116
uidev1116 enabled auto-merge October 27, 2026 08:00
@uidev1116
uidev1116 disabled auto-merge October 27, 2026 08:01
@uidev1116
uidev1116 merged commit 236d73c into appleple:master Oct 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants