mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
refactor(edit) getData
This commit is contained in:
parent
a8c9af8af3
commit
de04d0019a
1 changed files with 1 additions and 3 deletions
|
|
@ -121,9 +121,7 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch, Zip, MenuI
|
|||
else
|
||||
Edit.setModeForPath(name);
|
||||
|
||||
Info.getData(function(error, data) {
|
||||
callback(error, data);
|
||||
});
|
||||
Info.getData(callback);
|
||||
}
|
||||
|
||||
this.setModeForPath = function(name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue