From: Aleksander Ɓukasz Date: Thu, 10 Oct 2013 14:08:35 +0000 (+0200) Subject: cleanup X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/d1825bb5d7358c72956bf30b6e6881fa62d2ba18?ds=sidebyside;hp=ce4cc95ff037cea6359b02b3bf14c83c4f8fdc4e cleanup --- diff --git a/src/editor/modules/documentCanvas/canvas/canvas.js b/src/editor/modules/documentCanvas/canvas/canvas.js index c0eeaf0..2c7ddff 100644 --- a/src/editor/modules/documentCanvas/canvas/canvas.js +++ b/src/editor/modules/documentCanvas/canvas/canvas.js @@ -31,21 +31,10 @@ $.extend(Canvas.prototype, { }, generateCanvasDOM: function(wlxmlNode) { - // var element = this.createNodeElement2({ - // tag: wlxmlNode.getTagName(), - // klass: wlxmlNode.getClass(), //currentTag.attr('class'), - // meta: wlxmlNode.getMetaAttributes(), //meta, - // others: wlxmlNode.getOtherAttributes(), // ~ //others, - // rawChildren: wlxmlNode.contents(), - // prepopulateOnEmpty: true - // }); //->create2 var element = documentElement.DocumentNodeElement.create(wlxmlNode, this); - ['orig-before', 'orig-after', 'orig-begin', 'orig-end'].forEach(function(attr) { - element.data(attr, ''); - }); return element.dom(); },