UNPKG
docdash-coverage
Version:
latest (0.1.1)
0.1.1
0.1.0
docdash with nyc's coverage.
github.com/sanghaklee/docdash-coverage
sanghaklee/docdash-coverage
docdash-coverage
/
static
/
scripts
/
polyfill.js
4 lines
•
233 B
JavaScript
View Raw
1
2
3
4
//IE Fix, src: https://www.reddit.com/r/programminghorror/comments/6abmcr/nodelist_lacks_foreach_in_internet_explorer/
if
(
typeof
(
NodeList
.
prototype
.
forEach
)!==
typeof
(alert)){
NodeList
.
prototype
.
forEach
=
Array
.
prototype
.
forEach
; }