From: Aleksander Ɓukasz Date: Mon, 9 Dec 2013 08:45:15 +0000 (+0100) Subject: removing unused code X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/1f6c4e3196778b8d0e91988c8c56966f9bb2ef8f removing unused code --- diff --git a/src/editor/modules/documentCanvas/canvas/documentElement.js b/src/editor/modules/documentCanvas/canvas/documentElement.js index a0da233..9fe3641 100644 --- a/src/editor/modules/documentCanvas/canvas/documentElement.js +++ b/src/editor/modules/documentCanvas/canvas/documentElement.js @@ -29,10 +29,6 @@ $.extend(DocumentElement, { return elementTypeFromWlxmlNode(node).create(node, canvas); }, - createDOM: function(wlxmlNode) { - return elementTypeFromParams(wlxmlNode).createDOM(params); - }, - fromHTMLElement: function(htmlElement, canvas) { var $element = $(htmlElement); if(htmlElement.nodeType === Node.ELEMENT_NODE && $element.attr('document-node-element') !== undefined) { diff --git a/src/wlxml/extensions/uri.js b/src/wlxml/extensions/uri.js deleted file mode 100644 index 88e3f66..0000000 --- a/src/wlxml/extensions/uri.js +++ /dev/null @@ -1,13 +0,0 @@ -define(function() { - -'use strict'; - -var extenstion = {wlxmlClass: {uri: attributes: { - { - uri: {type: 'string'} - } -}}} - -return extension; - -}); \ No newline at end of file