Skip to content

Add comments and minor refactors to 'Getting Started' codelab#1

Open
GregoryCannon wants to merge 5 commits intomasterfrom
cleanup
Open

Add comments and minor refactors to 'Getting Started' codelab#1
GregoryCannon wants to merge 5 commits intomasterfrom
cleanup

Conversation

@GregoryCannon
Copy link
Copy Markdown
Owner

@GregoryCannon GregoryCannon commented Nov 4, 2021

Sample of changes I would propose to the source of the "Getting Started" codelab.

Summary:

  • Add comments to the major functions
  • Add a helper function convertToCode(blocklyXml) to clarify that flow during the save process
  • Make loadWorkspace take the parameter of the XML to load instead of the button DOM object

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.

1 participant