From 17749e3e3e70f942ff8c20110d3637607720b4d4 Mon Sep 17 00:00:00 2001 From: Joe Vu Date: Fri, 24 Jun 2016 17:00:24 -0700 Subject: [PATCH] Update README.md Small changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b0296f..efc1b86 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ email.set('attachment', fileObject); email.save(); -email.on('progress', console.log); +email.on('progress', function(evt) { console.log(evt) }); // Will result: with an event object you can use evt.loaded and evt.total to figure out the percent (i.e. 0.3233) ```