Skip to content

Commit d230526

Browse files
committed
Merge pull request #28 from daslicht/patch-1
chore: Update README.md
2 parents 6ea8d06 + aafd604 commit d230526

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ To allow files to be either selected and drag-dropped, you'll assign drop target
4545

4646
After this, interaction with Flow.js is done by listening to events:
4747

48-
r.on('fileAdded', function(file, event){
49-
...
50-
});
51-
r.on('fileSuccess', function(file,message){
52-
...
53-
});
54-
r.on('fileError', function(file, message){
55-
...
56-
});
48+
flow.on('fileAdded', function(file, event){
49+
console.log(file, event);
50+
});
51+
flow.on('fileSuccess', function(file,message){
52+
console.log(file,message);
53+
});
54+
flow.on('fileError', function(file, message){
55+
console.log(file, message);
56+
});
5757

5858
## How do I set it up with my server?
5959

0 commit comments

Comments
 (0)