enyo/dropzone — pull request #800 by antpaw (2014-12-29 09:44:08+00:00)
Title: BeforeMaxFilesExceeded event added

Allows to remove files and replace them with a new one rather then to alert an validation error.
Especially useful for maxFiles: 1

this.on('beforemaxfilesexceeded', (file, a) ->
myDropzone.removeFile(currentFile)
)