directory-upload
directory-upload copied to clipboard
Consider changing the boolean param of getFiles to a dictionary
d.getFiles({recursive: true}) would be, IMO a bit more clear than d.getFiles(true), and by using dictionary we could extend the functionality easily later, if wanted. For example in the future we could add { filter: ".html,.htm" } there or some such.
@bakulf, @jwatt, @aliams
http://ariya.ofilabs.com/2011/08/hall-of-api-shame-boolean-trap.html
Point well taken; ok, this makes sense.