minor changes

This commit is contained in:
coderaiser 2012-07-30 05:48:17 -04:00
parent 83022b65c1
commit f16aa33dbe

View file

@ -8,18 +8,16 @@ CloudCommander.Editor.CodeMirror = {
/* function shows editor */
var createEditorDiv = function() {
return function(){
if (!document.getElementById('CloudEditor')) {
var lEditor=document.createElement('div');
lEditor.id ='CloudEditor';
var lFM = document.getElementById('fm');
if(lFM){
lFM.appendChild(lEditor);
this.show();
}else console.log('Error. Something went wrong FM not found');
}
};
if (!document.getElementById('CloudEditor')) {
var lEditor=document.createElement('div');
lEditor.id ='CloudEditor';
var lFM = document.getElementById('fm');
if(lFM){
lFM.appendChild(lEditor);
this.show();
}else console.log('Error. Something went wrong FM not found');
}
};
/* function loads css files
* of CodeMirror