fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactoring: stop using data api on document element to keep reference to wlxmlNode
[fnpeditor.git]
/
src
/
editor
/
modules
/
documentCanvas
/
canvas
/
documentElement.js
diff --git
a/src/editor/modules/documentCanvas/canvas/documentElement.js
b/src/editor/modules/documentCanvas/canvas/documentElement.js
index
2c146bb
..
5ed3d20
100644
(file)
--- a/
src/editor/modules/documentCanvas/canvas/documentElement.js
+++ b/
src/editor/modules/documentCanvas/canvas/documentElement.js
@@
-19,7
+19,6
@@
var DocumentElement = function(wlxmlNode, canvas) {
this.$element = this.createDOM();
this.$element.data('canvas-element', this);
- this.data('wlxmlNode', wlxmlNode);
};
$.extend(DocumentElement.prototype, {