diff options
Diffstat (limited to 'node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js')
-rw-r--r-- | node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js b/node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js deleted file mode 100644 index fc00afac4..000000000 --- a/node_modules/babel-runtime/node_modules/core-js/library/modules/web.dom.iterable.js +++ /dev/null @@ -1,19 +0,0 @@ -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; -} |