Listener functions are no longer wrapped opaquely.

This commit is contained in:
Neil Fraser
2018-11-06 11:54:27 -08:00
committed by Neil Fraser
parent fd56526dfe
commit 6b06f8eefc

View File

@@ -169,10 +169,10 @@ BlocklyStorage.monitorChanges_ = function(workspace) {
var xmlText = Blockly.Xml.domToText(xmlDom);
if (startXmlText != xmlText) {
window.location.hash = '';
workspace.removeChangeListener(bindData);
workspace.removeChangeListener(change);
}
}
var bindData = workspace.addChangeListener(change);
workspace.addChangeListener(change);
};
/**