mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
main
This commit is contained in:
31
node_modules/xmlbuilder/lib/XMLDummy.js
generated
vendored
Normal file
31
node_modules/xmlbuilder/lib/XMLDummy.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
// Generated by CoffeeScript 1.12.7
|
||||
(function() {
|
||||
var NodeType, XMLDummy, 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 = require('./XMLNode');
|
||||
|
||||
NodeType = require('./NodeType');
|
||||
|
||||
module.exports = XMLDummy = (function(superClass) {
|
||||
extend(XMLDummy, superClass);
|
||||
|
||||
function XMLDummy(parent) {
|
||||
XMLDummy.__super__.constructor.call(this, parent);
|
||||
this.type = NodeType.Dummy;
|
||||
}
|
||||
|
||||
XMLDummy.prototype.clone = function() {
|
||||
return Object.create(this);
|
||||
};
|
||||
|
||||
XMLDummy.prototype.toString = function(options) {
|
||||
return '';
|
||||
};
|
||||
|
||||
return XMLDummy;
|
||||
|
||||
})(XMLNode);
|
||||
|
||||
}).call(this);
|
Reference in New Issue
Block a user