mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(client) loadModule: params could not be string
This commit is contained in:
parent
c90eb19532
commit
fc9f9ab95e
1 changed files with 0 additions and 3 deletions
|
|
@ -102,9 +102,6 @@ var Util, DOM, CloudFunc;
|
|||
func = params.func,
|
||||
doBefore = params.dobefore;
|
||||
|
||||
if (Util.isString(params))
|
||||
path = params;
|
||||
|
||||
if (path && !name) {
|
||||
name = Util.getStrBigFirst(path);
|
||||
name = Util.rmStr(name, '.js');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue