minor changes

This commit is contained in:
coderaiser 2012-07-30 06:19:31 -04:00
parent 37357da033
commit e1f102be7f

View file

@ -105,9 +105,13 @@ CloudCommander.Editor.CodeMirror = {
document.body.removeChild([0]);
};
}),
getById: function(pId){return document.getElementById(pId);},
getById : function(pId){return document.getElementById(pId);},
getPanel: function(){
getByClass : function(pClass){
return document.getElementsByClassName(pClass);
},
getPanel : function(){
var lCurrent = document.getElementsByClassName('current-file');
lCurrent.length &&
(lCurrent = lCurrent[0].parentElement);