issues
search
flowjs
/
flow.js
A JavaScript library providing multiple simultaneous, stable, fault-tolerant and resumable/restartable file uploads via the HTML5 File API.
Other
2.96k
stars
346
forks
source link
Filter addFiles between hooks
#370
Open
ilessiivi
opened
2 years ago
ilessiivi
commented
2 years ago
Makes addFiles call
files-added
hook with a file list filtered by every individual
file-added
hook
Adds a test to make sure that
files-added
hook won't receive files that
file-added
has deleted
Cleanup: removed the intermediary state objects and array, reducing the times the file list is looped through from 3 to 2
Code styling: unify variable names (flowfiles -> flowFiles, e -> flowFile)
files-added
hook with a file list filtered by every individualfile-added
hookfiles-added
hook won't receive files thatfile-added
has deleted