27 lines
352 B
JavaScript
27 lines
352 B
JavaScript
|
|
||
|
module.exports = new Class
|
||
|
({
|
||
|
Extends: Vn.Object
|
||
|
|
||
|
,doc: null
|
||
|
|
||
|
,initialize: function (props)
|
||
|
{
|
||
|
this.doc = document;
|
||
|
this.parent (props);
|
||
|
}
|
||
|
|
||
|
,createElement: function (tagName)
|
||
|
{
|
||
|
return document.createElement (tagName);
|
||
|
}
|
||
|
|
||
|
,createTextNode: function (text)
|
||
|
{
|
||
|
return document.createTextNode (text);
|
||
|
}
|
||
|
|
||
|
,render: function () {}
|
||
|
});
|
||
|
|