mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
fix(console) do not show console before load
This commit is contained in:
parent
c55a88df2a
commit
c37aca5876
1 changed files with 7 additions and 2 deletions
|
|
@ -14,12 +14,17 @@ var CloudCmd, Util, DOM, $;
|
|||
Console = this;
|
||||
|
||||
this.init = function(pCallBack) {
|
||||
var lViewFunc = CloudCmd.View.show || CloudCmd.View;
|
||||
var lFunc, lIsFunc = Util.isFunction(CloudCmd.View);
|
||||
|
||||
if( lIsFunc)
|
||||
lFunc = CloudCmd.View;
|
||||
else
|
||||
lFunc = Util.exec;
|
||||
|
||||
Util.loadOnLoad([
|
||||
Console.show,
|
||||
load,
|
||||
lViewFunc,
|
||||
lFunc,
|
||||
DOM.jqueryLoad,
|
||||
DOM.socketLoad
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue