Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Elm/Kernel/Json.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,9 @@ function _Json_runArrayDecoder(decoder, value, toElmValue)

function _Json_isArray(value)
{
return Array.isArray(value) || (typeof FileList !== 'undefined' && value instanceof FileList);
return Array.isArray(value)
|| (typeof FileList !== 'undefined' && value instanceof FileList)
|| (typeof TouchList !== 'undefined' && value instanceof TouchList);
}

function _Json_toElmArray(array)
Expand Down