We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea8429 commit 4137f85Copy full SHA for 4137f85
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