mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
refactored
This commit is contained in:
parent
1eb567215a
commit
976a38b4c4
2 changed files with 5 additions and 3 deletions
|
|
@ -268,10 +268,12 @@ CloudClient.Util = (function(){
|
|||
if(Util.isString(lParam) )
|
||||
lParam = { src : lParam };
|
||||
|
||||
|
||||
if(lParam && !lParam.func){
|
||||
lParam.func = function(){
|
||||
Util.anyLoadOnload(pParams_a, pFunc);
|
||||
};
|
||||
};
|
||||
|
||||
this.anyload(lParam);
|
||||
|
||||
}else if( this.isFunction(pFunc) )
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ var CloudCommander, CloudFunc, CodeMirror;
|
|||
//'height : ' + cloudcmd.HEIGHT + 'px' +
|
||||
'}' +
|
||||
'.CodeMirror-scroll{' +
|
||||
'height : ' + (cloudcmd.HEIGHT) + 'px' +
|
||||
'height : ' + (cloudcmd.HEIGHT) + 'px' +
|
||||
'}', //+
|
||||
/* codemirror v3 */
|
||||
//'#CodeMirrorEditor{' +
|
||||
|
|
@ -82,9 +82,9 @@ var CloudCommander, CloudFunc, CodeMirror;
|
|||
// '}'
|
||||
parent: document.head
|
||||
},
|
||||
lDir + 'mode/javascript.js',
|
||||
lDir + 'codemirror.css',
|
||||
lDir + 'theme/night.css',
|
||||
lDir + 'mode/javascript.js',
|
||||
lDir + 'codemirror.js'],
|
||||
|
||||
function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue