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

Blockly.JavaScript undefined in 7.20211209.3 #5939

Closed
jschanker opened this issue Feb 14, 2022 · 1 comment
Closed

Blockly.JavaScript undefined in 7.20211209.3 #5939

jschanker opened this issue Feb 14, 2022 · 1 comment

Comments

@jschanker
Copy link
Contributor

Describe the bug

Blockly.JavaScript is not defined when loading from unpkg.

To Reproduce

Steps to reproduce the behavior:

  1. Copy/paste the following code in a text editor, save as an HTML file and open in the browser:
<html>
  <head>
    <script src="https://unpkg.com/blockly@7.20211209.3/blockly.min.js"></script>
  </head>
  <body>
  </body>
</html>
  1. Check the console and note the error.

Expected behavior

Blockly.JavaScript should be defined.

Stack Traces

Uncaught TypeError: Cannot set properties of undefined (setting 'all')
    at all.js:14:1
    at all.js:14:1
(anonymous) @ all.js:14
(anonymous) @ all.js:14

Additional context

Reported in the Blockly forums by Srinivasa Kumar Asam here.

@jschanker jschanker added the issue: triage Issues awaiting triage by a Blockly team member label Feb 14, 2022
@jschanker
Copy link
Contributor Author

Closing as I just noticed this is a duplicate of #5932 and is being addressed by #5938.

@maribethb maribethb removed the issue: triage Issues awaiting triage by a Blockly team member label Feb 22, 2023
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

No branches or pull requests

2 participants