mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-02 04:33:09 +00:00
feature(dom) Events: addLoad
This commit is contained in:
parent
5f3c4a9f22
commit
a609a48830
2 changed files with 6 additions and 7 deletions
|
|
@ -460,7 +460,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
if (files)
|
||||
files.forEach(function(file) {
|
||||
reader = new FileReader();
|
||||
DOM.Events.add('load', onLoad, reader);
|
||||
DOM.Events.addLoad(onLoad, reader);
|
||||
reader.readAsBinaryString(file);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue