Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove internal initializeDom alias for pubsub.emit('content-loaded') #16636

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

schlawg
Copy link
Collaborator

@schlawg schlawg commented Dec 20, 2024

just in case you had forgotten that the pubsub.emit strings were union typed. but if pubsub.initializeDom makes more sense to you, i have no problem with it - just close this sucker down.

@schlawg
Copy link
Collaborator Author

schlawg commented Dec 20, 2024

it seemed kind of weird to go in pubsub.ts. i also wouldn't mind a site.initializeDom function typed in index.d.ts since there's just the one argument and it should never change.

@ornicar ornicar merged commit a21fe82 into lichess-org:master Dec 20, 2024
3 checks passed
@schlawg schlawg deleted the ui-api-gets-own-module branch December 20, 2024 21:55
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