X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/51a333278c2989a5a0022c19404bd257bf55cb27..e4c529f82588395c666ab6786cc9e5cbe827fb90:/src/editor/modules/documentCanvas/canvas/nullElement.js diff --git a/src/editor/modules/documentCanvas/canvas/nullElement.js b/src/editor/modules/documentCanvas/canvas/nullElement.js new file mode 100644 index 0000000..b57a62a --- /dev/null +++ b/src/editor/modules/documentCanvas/canvas/nullElement.js @@ -0,0 +1,16 @@ +define(function(require) { + +'use strict'; +var documentElement = require('./documentElement'); + + +var NullElement = Object.create(documentElement.DocumentNodeElement.prototype); + +NullElement.init = function() { + this.dom = null; + this.wlxmlNode.setData('canvasElement', undefined); +}; + +return NullElement; + +}); \ No newline at end of file