File tree 3 files changed +12
-5
lines changed
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
+
1
7
0.0.6 / 2012-12-20
2
8
==================
3
9
Original file line number Diff line number Diff line change @@ -68,9 +68,7 @@ More sophisticated example - Events
68
68
app .use (' /upload' , upload .fileHandler ());
69
69
70
70
// 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 ) {
74
72
// fileInfo structure is the same as returned to browser
75
73
// {
76
74
// name: '3 (3).jpg',
@@ -83,6 +81,9 @@ More sophisticated example - Events
83
81
// thumbnail_url: 'http://youhost/uploads/thumbnail/3%20(3).jpg'
84
82
// }
85
83
});
84
+ upload .on (' abort' , function (fileInfo ) { ... });
85
+ upload .on (' end' , function (fileInfo ) { ... });
86
+ upload .on (' delete' , function (fileInfo ) { ... });
86
87
upload .on (' error' , function (e ) {
87
88
console .log (e .message );
88
89
});
Original file line number Diff line number Diff line change 8
8
" express" ,
9
9
" middleware"
10
10
],
11
- "version" : " 0.0.6 " ,
11
+ "version" : " 0.0.7 " ,
12
12
"dependencies" : {
13
13
"formidable" : " >=1.0.11" ,
14
14
"imagemagick" : " >=0.1.2" ,
28
28
"scripts" : {
29
29
"test" : " echo \" Error: no test specified\" && exit 1"
30
30
},
31
- "_id" : " jquery-file-upload-middleware@0.0.6 " ,
31
+ "_id" : " jquery-file-upload-middleware@0.0.7 " ,
32
32
"license" : " MIT"
33
33
}
You can’t perform that action at this time.
0 commit comments