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

Documentation update #2366

Merged
merged 4 commits into from
Apr 22, 2019
Merged

Conversation

alschmiedt
Copy link
Contributor

The basics

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

The details

Resolves

#2339

Proposed Changes

Update documentation so that we are more clear statementToCode is used in generators.

Reason for Changes

Multiple forum posts showing that people were confused about the usage.

Test Coverage

Tested on:

Additional Information

@@ -275,6 +275,8 @@ Blockly.Generator.prototype.valueToCode = function(block, name, outerOrder) {

/**
* Generate code representing the statement. Indent the code.
* This is mainly used in generators. When trying to generate code to evaluate
Copy link
Collaborator

Choose a reason for hiding this comment

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

In addition, change "Generate code representing the statement." to "Generate a code string representing the blocks attached to the named statement input."

Between the two changes, hopefully we'll reduce confusion.

@rachel-fenichel rachel-fenichel merged commit a84e86f into google:develop Apr 22, 2019
@alschmiedt alschmiedt deleted the Documentation_Update branch May 29, 2020 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants