mirror of
https://github.com/google/blockly.git
synced 2025-12-15 22:00:07 +01:00
Listener functions are no longer wrapped opaquely.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user