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

fix: add missing requires for Blockly.util.object and Blockly.util.Size #5427

Merged
merged 1 commit into from
Sep 3, 2021

Conversation

cpcallen
Copy link
Contributor

@cpcallen cpcallen commented Sep 3, 2021

The basics

  • I branched from goog_module
  • My pull request is against goog_module
  • My code follows the style guide
  • I have run npm test.

The details

Resolves

Part of #5026

Proposed Changes

Add missing requires.

Reason for Changes

Some files were using Blockly.utils.object.inherits (or .mixin) without having imported Blockly.utils.object.

Similarly, trashcan.js tried to import Blockly.utils and then use utils.Size as a constructor instead of importing Size directly from Blockly.utils.Size.

Test Coverage

npm test completes successfully.

Some files were using Blockly.utils.object.inherits (or .mixin) without
having imported Blockly.utils.object.

Similarly, trashcan.js tried to use utils.Size as a constructor
instead of importing Size from Blockly.utils.Size.
@cpcallen cpcallen added this to the 2021_q3_release milestone Sep 3, 2021
@cpcallen cpcallen requested a review from a team as a code owner September 3, 2021 20:23
@google-cla google-cla bot added the cla: yes Used by Google's CLA checker. label Sep 3, 2021
@cpcallen cpcallen merged commit c31895d into google:goog_module Sep 3, 2021
@cpcallen cpcallen deleted the fix-missing-requires branch September 3, 2021 21:45
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.

2 participants