mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
main
This commit is contained in:
28
node_modules/xmlbuilder/lib/XMLNodeList.js
generated
vendored
Normal file
28
node_modules/xmlbuilder/lib/XMLNodeList.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
// Generated by CoffeeScript 1.12.7
|
||||
(function() {
|
||||
var XMLNodeList;
|
||||
|
||||
module.exports = XMLNodeList = (function() {
|
||||
function XMLNodeList(nodes) {
|
||||
this.nodes = nodes;
|
||||
}
|
||||
|
||||
Object.defineProperty(XMLNodeList.prototype, 'length', {
|
||||
get: function() {
|
||||
return this.nodes.length || 0;
|
||||
}
|
||||
});
|
||||
|
||||
XMLNodeList.prototype.clone = function() {
|
||||
return this.nodes = null;
|
||||
};
|
||||
|
||||
XMLNodeList.prototype.item = function(index) {
|
||||
return this.nodes[index] || null;
|
||||
};
|
||||
|
||||
return XMLNodeList;
|
||||
|
||||
})();
|
||||
|
||||
}).call(this);
|
Reference in New Issue
Block a user