minor changes

This commit is contained in:
coderaiser 2012-08-15 15:22:03 +03:00
parent e43da5293e
commit fdd4c61fc2

View file

@ -9,9 +9,7 @@ CloudCommander.Menu.dir = './lib/client/menu/';
/* function return configureation
* for FancyBox open and
* onclick (it shoud be
* different objects)
* for menu
*/
CloudCommander.Menu.getConfig = (function(){
return{
@ -39,7 +37,6 @@ CloudCommander.Menu.getConfig = (function(){
}}
}
// there's more, have a look at the demos and docs...
};
});
@ -124,8 +121,12 @@ CloudCommander.Menu.set = (function(){
this.seted = true;
}
});
CloudCommander.Menu.seted = false;
/* function shows menu for the first time
* right away after loading
*/
CloudCommander.Menu.show = (function(pParent, pPosition){
return function(){
pParent.set();
@ -137,6 +138,7 @@ CloudCommander.Menu.show = (function(pParent, pPosition){
}
});
/* key binding function */
CloudCommander.Menu.Keys = (function(pPosition){
"use strict";