Merge pull request #1677 from google/rachel-fenichel-patch-1

Field.Variable's dispose should be on the prototype
This commit is contained in:
Rachel Fenichel
2018-03-01 12:33:52 -08:00
committed by GitHub

View File

@@ -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;