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
				
				603 B
			
		
		
			
		
	
	
					29 lines
				
				603 B
			| 
											3 years ago
										 | // Generated by CoffeeScript 1.12.7
 | ||
|  | (function() { | ||
|  |   var XMLDOMStringList; | ||
|  | 
 | ||
|  |   module.exports = XMLDOMStringList = (function() { | ||
|  |     function XMLDOMStringList(arr) { | ||
|  |       this.arr = arr || []; | ||
|  |     } | ||
|  | 
 | ||
|  |     Object.defineProperty(XMLDOMStringList.prototype, 'length', { | ||
|  |       get: function() { | ||
|  |         return this.arr.length; | ||
|  |       } | ||
|  |     }); | ||
|  | 
 | ||
|  |     XMLDOMStringList.prototype.item = function(index) { | ||
|  |       return this.arr[index] || null; | ||
|  |     }; | ||
|  | 
 | ||
|  |     XMLDOMStringList.prototype.contains = function(str) { | ||
|  |       return this.arr.indexOf(str) !== -1; | ||
|  |     }; | ||
|  | 
 | ||
|  |     return XMLDOMStringList; | ||
|  | 
 | ||
|  |   })(); | ||
|  | 
 | ||
|  | }).call(this); |