Added disposed property to blocks (for use in unit tests).

This commit is contained in:
Beka Westberg
2019-08-02 10:44:56 -07:00
parent 995a2658fe
commit 057cee51f8

View File

@@ -322,6 +322,8 @@ Blockly.Block.prototype.dispose = function(healStack) {
} finally {
Blockly.Events.enable();
}
this.disposed = true;
};
/**