Skip to content

Instantly share code, notes, and snippets.

@cjoudrey
cjoudrey / README.md
Last active December 27, 2015 13:59
File uploads in Batman

File uploads in Batman

Problem

When you use input type="file" in Batman, the change event is observed and node.files is used to obtain the file when it changes.

In browsers that do not support the FileReader API node.files will be undefined.

Strategy used in Shopify