Skip to content

Commit

Permalink
Add other integer-indexed DOM types for Symbol.iterator polyfilling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Smyth committed Oct 8, 2016
1 parent 1038c08 commit 82a663d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions modules/web.dom.iterable.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,38 @@ var $iterators = require('./es6.array.iterator')

var DOMIterables = {
CSSRuleList: false,
CSSStyleDeclaration: false,
CSSValueList: false,
ClientRectList: false,
DOMRectList: false,
DOMStringList: false,
DOMTokenList: true,
DataTransferItemList: false,
FileList: false,
HTMLAllCollection: false,
HTMLCollection: false,
HTMLFormElement: false,
HTMLOptionsCollection: false,
HTMLSelectElement: false,
MediaList: false,
MimeTypeArray: false,
NamedNodeMap: false,
NodeList: true,
PaintRequestList: false,
Plugin: false,
PluginArray: false,
RadioNodeList: false,
SVGLengthList: false,
SVGNumberList: false,
SVGPathSegList: false,
SVGPointList: false,
SVGStringList: false,
SVGTransformList: false,
SourceBufferList: false,
StyleSheetList: false,
TextTrackCueList: false,
TextTrackList: false,
TouchList: false,
};

for(var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++){
Expand Down

0 comments on commit 82a663d

Please sign in to comment.