question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

There is no mechanism to register custom loops anymore since the 2021 Q4 release

See original GitHub issue

Describe the bug

There is no mechanism to register custom loops anymore since the 2021 Q4 release.

To Reproduce

Before, one could do this:

Blockly.Constants.Loops.CONTROL_FLOW_IN_LOOP_CHECK_MIXIN.LOOP_TYPES.push('my_loop');

Now after #5730, there is no mechanism to register loops. In blockly_compressed.js, there seems to be no reference of this PR and also doing this:

Blockly.loopMixin.CONTROL_FLOW_IN_LOOP_CHECK_MIXIN.LOOP_TYPES.push('my_loop');

throws

TypeError: undefined is not an object (evaluating 'Blockly.loopMixin.CONTROL_FLOW_IN_LOOP_CHECK_MIXIN')

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
cpcallencommented, Jan 31, 2022

This should now be fixed in the develop branch, and will be included in the next quarterly release. Do let us know if there are any outstanding issues with the fix!

2reactions
alschmiedtcommented, Feb 11, 2022

@KlemenDEV @Taikono-Himazin

This has been released in the most recent patch and is currently available on npm.

Read more comments on GitHub >

github_iconTop Results From Across the Web

S-1 - SEC.gov
As filed with the Securities and Exchange Commission on October 4, 2021. Registration No. 333-. UNITED STATES. SECURITIES AND EXCHANGE COMMISSION. Washington, ...
Read more >
Medicare Program: Hospital Outpatient Prospective Payment ...
This final rule with comment period revises the Medicare hospital outpatient prospective payment system (OPPS) and the Medicare ambulatory ...
Read more >
Beginner's guide for custom loop liquid cooling (important tips ...
This is a video on the essential and useful things that I learnt while building a liquid cooled CPU with hardline pipes using...
Read more >
geoengineering: parts i, ii, and iii hearing - GovInfo
Likewise, as Arctic permafrost thaws it releases methane, ... National Climate Change Technology Initiative, but it was not published. NASA.
Read more >
Blog - Möbius Strip Reverse Engineering
This blog entry announces the release of an exhaustive analysis of ... does not have high-level control flow structures such as loops (it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found