mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-14 15:09:18 -04:00
Merge pull request #557 from google/feature/variable_management
Integrate variable management into develop.
This commit is contained in:
commit
21fea1279c
98 changed files with 2553 additions and 1864 deletions
core
|
@ -197,6 +197,10 @@ Blockly.Block.prototype.colour_ = '#000000';
|
|||
* all children of this block.
|
||||
*/
|
||||
Blockly.Block.prototype.dispose = function(healStack) {
|
||||
if (!this.workspace) {
|
||||
// Already deleted.
|
||||
return;
|
||||
}
|
||||
// Terminate onchange event calls.
|
||||
if (this.onchangeWrapper_) {
|
||||
this.workspace.removeChangeListener(this.onchangeWrapper_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue