File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed
Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1+ 0.0.7 / 2012-12-25
2+ ==================
3+
4+ * 'delete' event merged in,
5+ thanks to https://github.com/soomtong
6+
170.0.6 / 2012-12-20
28==================
39
Original file line number Diff line number Diff line change @@ -68,9 +68,7 @@ More sophisticated example - Events
6868 app .use (' /upload' , upload .fileHandler ());
6969
7070 // events
71- upload .on (' begin' , function (fileInfo ) { ... });
72- upload .on (' abort' , function (fileInfo ) { ... });
73- upload .on (' end' , function (fileInfo ) {
71+ upload .on (' begin' , function (fileInfo ) {
7472 // fileInfo structure is the same as returned to browser
7573 // {
7674 // name: '3 (3).jpg',
@@ -83,6 +81,9 @@ More sophisticated example - Events
8381 // thumbnail_url: 'http://youhost/uploads/thumbnail/3%20(3).jpg'
8482 // }
8583 });
84+ upload .on (' abort' , function (fileInfo ) { ... });
85+ upload .on (' end' , function (fileInfo ) { ... });
86+ upload .on (' delete' , function (fileInfo ) { ... });
8687 upload .on (' error' , function (e ) {
8788 console .log (e .message );
8889 });
Original file line number Diff line number Diff line change 88 " express" ,
99 " middleware"
1010 ],
11- "version" : " 0.0.6 " ,
11+ "version" : " 0.0.7 " ,
1212 "dependencies" : {
1313 "formidable" : " >=1.0.11" ,
1414 "imagemagick" : " >=0.1.2" ,
2828 "scripts" : {
2929 "test" : " echo \" Error: no test specified\" && exit 1"
3030 },
31- "_id" : " jquery-file-upload-middleware@0.0.6 " ,
31+ "_id" : " jquery-file-upload-middleware@0.0.7 " ,
3232 "license" : " MIT"
3333}
You can’t perform that action at this time.
0 commit comments