mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
refactor(edit) onDrop: slice -> forEach
This commit is contained in:
parent
d575b4a83f
commit
ab2a064544
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
|
||||
files = event.dataTransfer.files;
|
||||
|
||||
Util.slice(files).forEach(function(file) {
|
||||
Util.forEach(files, function(file) {
|
||||
reader = new FileReader();
|
||||
DOM.Events.addLoad(reader, onLoad);
|
||||
reader.readAsBinaryString(file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue