weixiyen/jquery-filedrop — pull request #58 by damienalexandre (2012-07-24 13:20:20+00:00)
Title: Add a global progression callback and JSHint corrections

The actual progress callback is file specific, but my client wanted a global progress-bar. So here is my proposal. It store a `global_progress` array in which all the file progresses are stored, the global callback is then called each time the `progress` one is called. I have tested it successfully on Firefox with multiple filedrop instances on the same page.

I have also updated the documentation to add the `globalProgressUpdated` method (and the `FileTypeNotAllowed` error, from a previous PR).

The other main change on this PR is code standards. There is a bad mixup of indentations, style and even some bad missing `;` etc... I've run JSHint on the file and corrected the majority of the flaws I was seeing. Result is a better readability, less error prone minification and ease for future contributors,

Sorry for not having make two separated PR for those two changes, commits can be cherry-picked if that's a problem.

Btw, thank for this very useful plugin :metal:!