You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
/**
|
|
* Node Class as base class for TextNode and HTMLElement.
|
|
*/
|
|
var Node = /** @class */ (function () {
|
|
function Node() {
|
|
this.childNodes = [];
|
|
}
|
|
Object.defineProperty(Node.prototype, "innerText", {
|
|
get: function () {
|
|
return this.rawText;
|
|
},
|
|
enumerable: false,
|
|
configurable: true
|
|
});
|
|
return Node;
|
|
}());
|
|
exports.default = Node;
|