Document.js 740 B

1234567891011121314151617181920212223
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.LiteDocument = void 0;
  4. var Element_js_1 = require("./Element.js");
  5. var LiteDocument = (function () {
  6. function LiteDocument() {
  7. this.root = new Element_js_1.LiteElement('html', {}, [
  8. this.head = new Element_js_1.LiteElement('head'),
  9. this.body = new Element_js_1.LiteElement('body')
  10. ]);
  11. this.type = '';
  12. }
  13. Object.defineProperty(LiteDocument.prototype, "kind", {
  14. get: function () {
  15. return '#document';
  16. },
  17. enumerable: false,
  18. configurable: true
  19. });
  20. return LiteDocument;
  21. }());
  22. exports.LiteDocument = LiteDocument;
  23. //# sourceMappingURL=Document.js.map