refactored

This commit is contained in:
coderaiser 2012-10-20 11:31:17 -04:00
parent 1eb567215a
commit 976a38b4c4
2 changed files with 5 additions and 3 deletions

View file

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

View file

@ -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(){