mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
chore(client) execFromModule: 'init' in lObject -> Util.isObject(lObject)
This commit is contained in:
parent
511dba9d41
commit
00f705d4cf
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
|
||||
CloudCmd.execFromModule = function(pModuleName, pFuncName, pParams){
|
||||
var lObject = CloudCmd[pModuleName];
|
||||
Util.ifExec('init' in lObject,
|
||||
Util.ifExec(Util.isObject(lObject),
|
||||
function(){
|
||||
var lObj = CloudCmd[pModuleName];
|
||||
Util.exec( lObj[pFuncName], pParams);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue