feature(client) rm throw when no callback

This commit is contained in:
coderaiser 2015-03-28 09:42:22 -04:00
parent 885c8c03fd
commit cbe2416eb0

View file

@ -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,