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: update demo fields for blockly v10 and remove closure modules #1735

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

maribethb
Copy link
Contributor

In pitch-field-demo, update Blockly.WidgetDiv.DIV to Blockly.WidgetDiv.getDiv() because the former was removed. This is the only required change to make the demo work with v10.

However, the goog.require and goog.provide statements really deeply confused me for a few minutes because I did not see where we were compiling these fields using Closure Compiler. It turns out, we're not, and these are defined as empty functions in the index.html for the demo. This is really confusing as a demo and does not help new developers figure out how we want them to use Blockly. Therefore I also took this opportunity to remove the references to Closure Compiler from the pitch field and turtle field demos.

@maribethb maribethb requested a review from a team as a code owner June 22, 2023 20:24
@maribethb maribethb requested review from BeksOmega and removed request for a team June 22, 2023 20:24
@cpcallen cpcallen removed the request for review from BeksOmega June 22, 2023 20:47
@maribethb maribethb merged commit ffb8b48 into google:q3-2023 Jun 26, 2023
maribethb added a commit that referenced this pull request Jun 28, 2023
* chore: update all plugins and examples to [email protected] (#1722)

* chore: update all plugins and examples to [email protected]

* chore: update angular packagelock

* chore: migrate textToDom rename

* chore: fix modal

* chore: fix keyboard nav test

* chore: fix variable modal

* chore: fix shareable procedure blocks

* fix: procedure blocks build

* fix more build stuff

* fix: renaming build problems

* chore: fix lint

* chore: fix return annotations

* chore: maybe actually fix lint

* fix: update graph demo for blockly v10 (#1732)

* chore: add color, angle, multiline fields to demo page (#1728)

* fix!: make scroll options work without drag surfaces (#1666)

* fix!: make scroll options work without drag surfaces

* chore: PR comments

* chore: unprivate backpack plugin (#1738)

* fix: continuous flyout calling wrong private method (#1725)

* fix: continuous flyout calling wrong private method

* fix: use better API

* fix: don't duplicate logic

* chore: remove serializable demo (#1737)

* fix: update demo fields for blockly v10 and remove closure modules (#1735)

* fix: update devsite demo for blockly v10 (#1736)

* fix: update all usages of generators in script tags for blockly v10 (#1734)

* feat!: update all plugins to use blockly-v10.0.0 (#1744)

---------

Co-authored-by: Beka Westberg <[email protected]>
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.

3 participants