24 lines
377 B
JavaScript
24 lines
377 B
JavaScript
const VnObject = require('./object');
|
|
|
|
module.exports = new Class({
|
|
Extends: VnObject
|
|
|
|
,doc: null
|
|
|
|
,initialize: function(props) {
|
|
this.doc = document;
|
|
this.parent(props);
|
|
}
|
|
|
|
,createElement: function(tagName) {
|
|
return this.doc.createElement(tagName);
|
|
}
|
|
|
|
,createTextNode: function(text) {
|
|
return this.doc.createTextNode(text);
|
|
}
|
|
|
|
,render: function() {}
|
|
});
|
|
|