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

Migrate core/utils/string.js to goog.module syntax #5059

Merged
merged 5 commits into from
Aug 12, 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 locally already.

The details

Resolves

Part of #5026

@gonfunko gonfunko requested a review from a team as a code owner July 14, 2021 20:39
@gonfunko gonfunko requested a review from maribethb July 14, 2021 20:39
@@ -135,44 +138,44 @@ Blockly.utils.string.wrap = function(text, limit) {
* @return {string} Wrapped text.
* @private
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the style guide, I don't think this should be marked private. It just doesn't get exported. However, we can wait for Chris to confirm that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated since this has been long since confirmed, and also updated the exports style to reflect our current convention.

@cpcallen cpcallen added this to the 2021_q3_release milestone Jul 15, 2021
@google-cla google-cla bot added the cla: yes Used by Google's CLA checker. label Aug 12, 2021
@gonfunko gonfunko merged commit ee3f4d2 into google:goog_module Aug 12, 2021
@gonfunko gonfunko deleted the string branch August 12, 2021 18:44
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