@restnfeel/agentc-starter-kit
Version:
한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템
51 lines (39 loc) • 1.7 kB
JavaScript
import { __module as XMLDTDElement$1 } from '../../../_virtual/XMLDTDElement2.js';
import { __require as requireXMLNode } from './XMLNode.js';
var XMLDTDElement = XMLDTDElement$1.exports;
var hasRequiredXMLDTDElement;
function requireXMLDTDElement () {
if (hasRequiredXMLDTDElement) return XMLDTDElement$1.exports;
hasRequiredXMLDTDElement = 1;
// Generated by CoffeeScript 1.12.7
(function() {
var XMLNode,
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
hasProp = {}.hasOwnProperty;
XMLNode = /*@__PURE__*/ requireXMLNode();
XMLDTDElement$1.exports = (function(superClass) {
extend(XMLDTDElement, superClass);
function XMLDTDElement(parent, name, value) {
XMLDTDElement.__super__.constructor.call(this, parent);
if (name == null) {
throw new Error("Missing DTD element name. " + this.debugInfo());
}
if (!value) {
value = '(#PCDATA)';
}
if (Array.isArray(value)) {
value = '(' + value.join(',') + ')';
}
this.name = this.stringify.eleName(name);
this.value = this.stringify.dtdElementValue(value);
}
XMLDTDElement.prototype.toString = function(options) {
return this.options.writer.set(options).dtdElement(this);
};
return XMLDTDElement;
})(XMLNode);
}).call(XMLDTDElement);
return XMLDTDElement$1.exports;
}
export { requireXMLDTDElement as __require };
//# sourceMappingURL=XMLDTDElement.js.map