Added emit function to Dropzone

See the docs for some [examples using emit](https://github.com/enyo/dropzone/wiki/FAQ#how-to-show-files-already-stored-on-server)
I can't find any other usage so this covers the two events that I am aware of: `addedfile` and `thumbnail`
This commit is contained in:
Steven
2014-08-21 18:53:33 -07:00
parent 7a55f220ee
commit 72bd7d5938
+2
View File
@@ -72,6 +72,8 @@ declare class Dropzone {
getRejectedFiles(): DropzoneFile[];
getQueuedFiles(): DropzoneFile[];
getUploadingFiles(): DropzoneFile[];
emit(eventName: string, file: DropzoneFile, data?: string);
}
interface JQuery {