mirror of
https://github.com/google/blockly.git
synced 2026-01-13 20:07:08 +01:00
Field.Variable's dispose should be on the prototype
So that it can actually be called.
This commit is contained in:
@@ -120,7 +120,7 @@ Blockly.FieldVariable.prototype.initModel = function() {
|
||||
* Dispose of this field.
|
||||
* @public
|
||||
*/
|
||||
Blockly.FieldVariable.dispose = function() {
|
||||
Blockly.FieldVariable.prototype.dispose = function() {
|
||||
Blockly.FieldVariable.superClass_.dispose.call(this);
|
||||
this.workspace_ = null;
|
||||
this.variableMap_ = null;
|
||||
|
||||
Reference in New Issue
Block a user