Skip to content
forEach for NodeList
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__ Add tests Aug 12, 2017
.editorconfig Init Aug 12, 2017
.gitattributes Init Aug 12, 2017
.gitignore Add tests Aug 12, 2017
.travis.yml Upd travis Aug 15, 2017
README.md Add build status badge Aug 15, 2017
nodelist-foreach.js let -> var, remove ternary Aug 15, 2017
package.json 1.0.1 Aug 15, 2017
yarn.lock Add tests Aug 12, 2017

README.md

nodelist-foreach

Build Status

A polyfill to add forEach on NodeList for non supporting browsers (e.g. IE).

import 'nodelist-foreach';

querySelectorAll('.my-component').forEach(doStuff);

Installation

npm:

npm i -S nodelist-foreach

yarn:

yarn add nodelist-foreach
You can’t perform that action at this time.