We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ea8429 + 4137f85 commit 24a7c9aCopy full SHA for 24a7c9a
src/Elm/Kernel/Json.js
@@ -330,7 +330,9 @@ function _Json_isArray(value)
330
{
331
return Array.isArray(value)
332
|| (typeof FileList !== 'undefined' && value instanceof FileList)
333
- || (typeof TouchList !== 'undefined' && value instanceof TouchList);
+ || (typeof TouchList !== 'undefined' && value instanceof TouchList)
334
+ || (typeof HTMLCollection !== 'undefined' && value instanceof HTMLCollection)
335
+ || (typeof NodeList !== 'undefined' && value instanceof NodeList);
336
}
337
338
function _Json_toElmArray(array)
0 commit comments