mirror of
https://github.com/google/blockly.git
synced 2026-01-25 09:40:10 +01:00
Added disposed property to blocks (for use in unit tests).
This commit is contained in:
@@ -322,6 +322,8 @@ Blockly.Block.prototype.dispose = function(healStack) {
|
||||
} finally {
|
||||
Blockly.Events.enable();
|
||||
}
|
||||
|
||||
this.disposed = true;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user