refactorization: store manager on element instance, stop using data element api altog...
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / wlxmlManagers.js
index a35c079..66b2ea0 100644 (file)
@@ -41,8 +41,7 @@ var DocumentElementWrapper = function(documentElement) {
         eventBus.trigger.apply(eventBus, arguments);
     };
 
-    this.node = documentElement.data('wlxmlNode');
-
+    this.node = documentElement.wlxmlNode;
 };
 
 var getDisplayStyle = function(tag, klass) {