mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(client) rm throw when no callback
This commit is contained in:
parent
885c8c03fd
commit
cbe2416eb0
1 changed files with 0 additions and 3 deletions
|
|
@ -326,9 +326,6 @@ var Util, DOM, CloudFunc, join;
|
|||
options = {};
|
||||
}
|
||||
|
||||
if (typeof callback !== 'function')
|
||||
throw(Error('callback should be function!'));
|
||||
|
||||
CloudCmd.loadDir({
|
||||
path : notSlashlLink,
|
||||
isRefresh : NEEDREFRESH,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue