Skip to content

Commit 24a7c9a

Browse files
committed
Merge branch 'pr-22' into stack-1.1.3
2 parents 4ea8429 + 4137f85 commit 24a7c9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Elm/Kernel/Json.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,9 @@ function _Json_isArray(value)
330330
{
331331
return Array.isArray(value)
332332
|| (typeof FileList !== 'undefined' && value instanceof FileList)
333-
|| (typeof TouchList !== 'undefined' && value instanceof TouchList);
333+
|| (typeof TouchList !== 'undefined' && value instanceof TouchList)
334+
|| (typeof HTMLCollection !== 'undefined' && value instanceof HTMLCollection)
335+
|| (typeof NodeList !== 'undefined' && value instanceof NodeList);
334336
}
335337

336338
function _Json_toElmArray(array)

0 commit comments

Comments
 (0)