You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
560 B
29 lines
560 B
4 weeks ago
|
// 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);
|