From cbe2416eb01da319e1d744da7b557680fa0541bb Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sat, 28 Mar 2015 09:42:22 -0400 Subject: [PATCH] feature(client) rm throw when no callback --- lib/client.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/client.js b/lib/client.js index 61882fe1..aa5aed04 100644 --- a/lib/client.js +++ b/lib/client.js @@ -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,