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

"all at once" reimplementation (ScratchBlocks Part) #15

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions blocks_vertical/control.js
Original file line number Diff line number Diff line change
Expand Up @@ -503,16 +503,11 @@ Blockly.Blocks['control_clear_counter'] = {

Blockly.Blocks['control_all_at_once'] = {
/**
* Block to run the contained script. This is an obsolete block that is
* implemented for compatibility with Scratch 2.0 projects. Note that
* this was originally designed to run all of the contained blocks
* (sequentially, like normal) within a single frame, but this feature
* was removed in place of custom blocks marked "run without screen
* refresh". The "all at once" block was changed to run the contained
* blocks ordinarily, functioning the same way as an "if" block with a
* reporter that is always true (e.g. "if 1 = 1"). Also note that the
* Scratch 2.0 spec for this block is "warpSpeed", but the label shows
* "all at once".
* Block to run the contained script. This is an obsolete block that was
* implemented for compatibility with Scratch 2.0 projects. The original
* intended functionality was to run the blocks sequentially in 1 frame,
* not dissimilar from the "run without screen refresh" option in
* procedure definitions. In Unsandboxed, this has been reimplemented.
* @this Blockly.Block
*/
init: function() {
Expand Down