From d1825bb5d7358c72956bf30b6e6881fa62d2ba18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 10 Oct 2013 16:08:35 +0200 Subject: [PATCH] cleanup --- src/editor/modules/documentCanvas/canvas/canvas.js | 11 ----------- 1 file changed, 11 deletions(-) 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(); }, -- 2.20.1