editor: removing unused code
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 6 Mar 2014 10:08:56 +0000 (11:08 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 28 Mar 2014 11:37:11 +0000 (12:37 +0100)
src/editor/modules/documentCanvas/canvas/canvas.js

index 6bc5c41..44d3e6d 100644 (file)
@@ -207,10 +207,6 @@ $.extend(Canvas.prototype, {
         element.toggleHighlight(toggle);
     },
 
-    createNodeElement: function(params) {
-        return documentElement.DocumentNodeElement.create(params, this);
-    },
-
     getDocumentElement: function(from) {
         /* globals HTMLElement, Text */
         if(from instanceof HTMLElement || from instanceof Text) {