mirror of
https://github.com/google/blockly.git
synced 2026-01-06 08:30:13 +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);
|
var xmlText = Blockly.Xml.domToText(xmlDom);
|
||||||
if (startXmlText != xmlText) {
|
if (startXmlText != xmlText) {
|
||||||
window.location.hash = '';
|
window.location.hash = '';
|
||||||
workspace.removeChangeListener(bindData);
|
workspace.removeChangeListener(change);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
var bindData = workspace.addChangeListener(change);
|
workspace.addChangeListener(change);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user