if(wlxmlDocument === this.wlxmlDocument) {
return;
}
+ this.wlxmlDocument = wlxmlDocument;
wlxmlDocument.on('change', function(event) {
var handler = handlers[event.type];
handler.bind(this)(event);
}
}, this);
+
+ wlxmlDocument.on('contentSet', function() {
+ this.canvas.loadWlxmlDocument(wlxmlDocument);
+ }, this);
}
});