removing unused code
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 9 Dec 2013 08:45:15 +0000 (09:45 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Sun, 15 Dec 2013 21:32:49 +0000 (22:32 +0100)
src/editor/modules/documentCanvas/canvas/documentElement.js
src/wlxml/extensions/uri.js [deleted file]

index a0da233..9fe3641 100644 (file)
@@ -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 (file)
index 88e3f66..0000000
+++ /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