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.

19 lines
478 B

  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. /**
  4. * Node Class as base class for TextNode and HTMLElement.
  5. */
  6. var Node = /** @class */ (function () {
  7. function Node() {
  8. this.childNodes = [];
  9. }
  10. Object.defineProperty(Node.prototype, "innerText", {
  11. get: function () {
  12. return this.rawText;
  13. },
  14. enumerable: false,
  15. configurable: true
  16. });
  17. return Node;
  18. }());
  19. exports.default = Node;