Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
The parameters for Uploader.finished appear to be index, fileInfo, templateContext.
  • Loading branch information
JamesLefrere committed Feb 7, 2015
1 parent ddfac60 commit cf7a510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ We can also hook onto upload callbacks just like following:
```javascript
// file: client/init.js
Meteor.startup(function() {
Uploader.finished = function(fileInfo, templateContext) {
Uploader.finished = function(index, fileInfo, templateContext) {
Uploads.insert(fileInfo);
}
})
Expand Down

0 comments on commit cf7a510

Please sign in to comment.