added output for pressed keys

This commit is contained in:
coderaiaser 2012-07-17 07:05:14 -07:00
parent 2a7b0bb83a
commit 4da252c441
2 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,5 @@
var CloudCommander;
CloudCommander.Editor = { CloudMirror: undefined };
CloudCommander.Editor = {};
CloudCommander.Editor.CloudMirror = { load: (function(){
CloudCommander.jsload('http://codemirror.net/lib/codemirror.js', load_all(this));
@ -52,12 +52,12 @@ CloudCommander.Editor.CloudMirror = { load: (function(){
});
}
}
CloudCommander.jsload('http://codemirror.net/mode/xml/xml.js', lShowEditor_f)
}
};
CloudCommander.jsload('http://codemirror.net/mode/xml/xml.js', lShowEditor_f);
};
}
}),
show : (function(){
show : (function(){
/* removing keyBinding if set */
CloudCommander.keyBinded = false;
left.className = 'panel hidden';
@ -67,7 +67,7 @@ CloudCommander.Editor.CloudMirror = { load: (function(){
hide :(function() {
hide :(function() {
CloudCommander.keyBinded = true;
CloudEditor.className='hidden';
left.className = 'panel';