Initial commit
Made it work with IE7+. It needed a text/html response instead of a json one. That's bad though since it shouldn't be bound to the browser you're using! I'm sure there's a solution to it and I'll look for it later.
Using deferred/promises
Added error support by using an error field on the json response that comes from the server.
Added readonly support to enable/disable file uploading at will.
Added a README
Put the source files in src
Added a min file
Moved demo into demo/
Removed non minified files from demo
Updated the readme
Updated the readme
Created two views to handle a raw file input and a file input masked in a label (to allow styling it). Removed readonly from collection, the views are responsible for handling this.:
Cleaning the input's val after submitting
Compiled the code again
Fixed multiple and enabled options in FileInput to be able to be set through the options. https://github.com/dariocravero/backbone-file-upload/issues/1.
test
m