mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
Use goog.global instead of this or window.
This commit is contained in:
@@ -288,11 +288,11 @@ Blockly.WorkspaceSvg.prototype.fireChangeEvent = function() {
|
||||
return;
|
||||
}
|
||||
if (this.fireChangeEventPid_) {
|
||||
window.clearTimeout(this.fireChangeEventPid_);
|
||||
clearTimeout(this.fireChangeEventPid_);
|
||||
}
|
||||
var canvas = this.svgBlockCanvas_;
|
||||
if (canvas) {
|
||||
this.fireChangeEventPid_ = window.setTimeout(function() {
|
||||
this.fireChangeEventPid_ = setTimeout(function() {
|
||||
Blockly.fireUiEvent(canvas, 'blocklyWorkspaceChange');
|
||||
}, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user