Update lib/client/menu.js

This commit is contained in:
coderaiser 2012-08-14 16:15:40 +03:00
parent 3d77db4ae2
commit 483a6dc61c

View file

@ -19,8 +19,8 @@ CloudCommander.Menu.getConfig = (function(){
selector: 'li',
// define the elements of the menu
items: {
foo: {name: "Foo", callback: function(key, opt){ alert("Foo!"); }},
bar: {name: "Bar", callback: function(key, opt){ alert("Bar!"); }}
foo: {name: "View", callback: function(key, opt){ CloudCommander.Viewer();}},
bar: {name: "Edit", callback: function(key, opt){ CloudCommander.Editor();}}
}
// there's more, have a look at the demos and docs...
};