23/resumable.js — pull request #34 by buffym (2012-10-18 17:42:16+00:00)
Title: Allow the query option to be an object or a function that returns an object.

The query option can be either an object or a function that returns an object. If query is a function, when the query string is being built, the function is called and is passed the ResumableFile object. In this way you can customize the query parameters per file that is uploaded, to for instance, add custom metadata per each file.