added class for preformatted text

This commit is contained in:
coderaiser 2012-08-17 03:23:17 -04:00
parent 16e7e56498
commit aff8119136
2 changed files with 11 additions and 2 deletions

View file

@ -49,6 +49,9 @@ ul{ margin: 1em 0; padding: 0 20px 0 20px; }
/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }
/* preformatted text */
.pre {white-space:pre}
/* ==== print styles =======================================================
Print styles.
Inlined to avoid required HTTP connection: h5bp.com/r

View file

@ -18,7 +18,7 @@ CloudCommander.Menu.getConfig = (function(){
selector: 'li',
// define the elements of the menu
items: {
view: {name: "View", callback: function(key, opt){
view: {name: 'View', callback: function(key, opt){
if(typeof CloudCommander.Viewer === 'function')
CloudCommander.Viewer();
else{
@ -27,7 +27,8 @@ CloudCommander.Menu.getConfig = (function(){
lViewer.show();
}
}},
edit: {name: "Edit", callback: function(key, opt){
edit: {name: 'Edit', callback: function(key, opt){
lThis.Images.showLoad();
if(typeof CloudCommander.Editor === 'function')
@ -38,6 +39,11 @@ CloudCommander.Menu.getConfig = (function(){
lEditor.show();
}
}},
'delete': {name: 'Delete',
callback: function(key, opt){
console.log('delete menu item choosen');
}}
}
};