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.
		
		
		
		
		
			
		
			
				
					
					
						
							20 lines
						
					
					
						
							969 B
						
					
					
				
			
		
		
	
	
							20 lines
						
					
					
						
							969 B
						
					
					
				| require('./es6.array.iterator');
 | |
| var global = require('./_global');
 | |
| var hide = require('./_hide');
 | |
| var Iterators = require('./_iterators');
 | |
| var TO_STRING_TAG = require('./_wks')('toStringTag');
 | |
| 
 | |
| var DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +
 | |
|   'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +
 | |
|   'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +
 | |
|   'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +
 | |
|   'TextTrackList,TouchList').split(',');
 | |
| 
 | |
| for (var i = 0; i < DOMIterables.length; i++) {
 | |
|   var NAME = DOMIterables[i];
 | |
|   var Collection = global[NAME];
 | |
|   var proto = Collection && Collection.prototype;
 | |
|   if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
 | |
|   Iterators[NAME] = Iterators.Array;
 | |
| }
 |