@restnfeel/agentc-starter-kit
Version:
한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템
55 lines (43 loc) • 1.56 kB
JavaScript
import { __module as XMLAttribute$1 } from '../../../_virtual/XMLAttribute2.js';
var XMLAttribute = XMLAttribute$1.exports;
var hasRequiredXMLAttribute;
function requireXMLAttribute () {
if (hasRequiredXMLAttribute) return XMLAttribute$1.exports;
hasRequiredXMLAttribute = 1;
// Generated by CoffeeScript 1.12.7
(function() {
XMLAttribute$1.exports = (function() {
function XMLAttribute(parent, name, value) {
this.options = parent.options;
this.stringify = parent.stringify;
this.parent = parent;
if (name == null) {
throw new Error("Missing attribute name. " + this.debugInfo(name));
}
if (value == null) {
throw new Error("Missing attribute value. " + this.debugInfo(name));
}
this.name = this.stringify.attName(name);
this.value = this.stringify.attValue(value);
}
XMLAttribute.prototype.clone = function() {
return Object.create(this);
};
XMLAttribute.prototype.toString = function(options) {
return this.options.writer.set(options).attribute(this);
};
XMLAttribute.prototype.debugInfo = function(name) {
name = name || this.name;
if (name == null) {
return "parent: <" + this.parent.name + ">";
} else {
return "attribute: {" + name + "}, parent: <" + this.parent.name + ">";
}
};
return XMLAttribute;
})();
}).call(XMLAttribute);
return XMLAttribute$1.exports;
}
export { requireXMLAttribute as __require };
//# sourceMappingURL=XMLAttribute.js.map