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

chore: Remove declareLegacyNamespace() from field_* files #5522

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

gonfunko
Copy link
Contributor

The basics

  • I branched from goog_module
  • My pull request is against goog_module
  • My code follows the style guide
  • My code is presented in the form suggested in the module
    conversion guide
  • I have run npm test.

The details

Proposed Changes

Removes declareLegacyNamespace() from field_*, other than field_angle.js since it has not yet been goog.module-ified. Also fixed up events_block_change.js to directly require and use BlockBase, since it was causing errors in the node test when declareLegacyNamespace was removed from the field_ files.

@gonfunko gonfunko requested a review from a team as a code owner September 23, 2021 16:15
@gonfunko gonfunko requested a review from alschmiedt September 23, 2021 16:15
@google-cla google-cla bot added the cla: yes Used by Google's CLA checker. label Sep 23, 2021
@github-actions github-actions bot added this to the 2021_q3_release milestone Sep 23, 2021
@rachel-fenichel
Copy link
Collaborator

Field angle is now migrated: https://github.com/google/blockly/pull/5521/files

Can be addressed in the next PR though.

@gonfunko gonfunko merged commit 9f09d50 into google:goog_module Sep 23, 2021
@gonfunko gonfunko deleted the field_namespace branch September 23, 2021 21:34
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. type: cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants