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

Modularize blocks #5597

Closed
rachel-fenichel opened this issue Oct 13, 2021 · 0 comments
Closed

Modularize blocks #5597

rachel-fenichel opened this issue Oct 13, 2021 · 0 comments
Assignees

Comments

@rachel-fenichel
Copy link
Collaborator

Issue for tracking conversion of blocks directory to goog.module.

Most of the files in blocks/ don't need to export anything, because they install blocks on the blocks object--that is, the side effects are the important thing (related to #5189).

Some files put properties on Blockly.Constants.SomeNamespace. These are generally not use outside of the file. They are on the constants namespace to keep them out of the global namespace. They can just become local and not exported, and it's possible that some of the leaf namespace on Blockly.Constants will also not be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants