feature(client) loadModule: params could not be string

This commit is contained in:
coderaiser 2014-05-22 06:24:23 -04:00
parent c90eb19532
commit fc9f9ab95e

View file

@ -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');