Skip to content

Conversation

@rachel-fenichel
Copy link
Collaborator

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

Proposed Changes

Moves two properties, VARIABLE_CATEGORY_NAME and PROCEDURE_CATEGORY_NAME, from internal_constants.js to constants.js.

Behavior Before Change

Names were only exported at the top level.

Behavior After Change

Names are exported in constants, which means that generators can use them by importing constants.

Reason for Changes

Needed to make generator migration (#5716) work, because it needs to use those two properties but not import all of Blockly.

Test Coverage

Standard tests

Documentation

No change

Additional Information

I updated the aliases for jsdoc.
I left VARIABLE_DYNAMIC_CATEGORY_NAME alone because I don't have an immediate need to access it.

@rachel-fenichel rachel-fenichel requested a review from a team as a code owner November 29, 2021 20:23
@google-cla google-cla bot added the cla: yes Used by Google's CLA checker. label Nov 29, 2021
@rachel-fenichel
Copy link
Collaborator Author

Closing in favor of #5743

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

Labels

cla: yes Used by Google's CLA checker.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants