fix problem with delete
[fnpeditor.git] / src / editor / modules / documentCanvas / canvas / nullElement.js
1 define(function(require) {
2     
3 'use strict';
4 var documentElement = require('./documentElement');
5
6
7 var NullElement = Object.create(documentElement.DocumentNodeElement.prototype);
8
9 NullElement.init = function() {
10     this.dom = null;
11     this.wlxmlNode.setData('canvasElement', undefined);
12 };
13
14 return NullElement;
15
16 });