lower case names for keys

This commit is contained in:
Paul Ivanov 2014-03-05 19:42:44 -08:00
parent fdca0762a4
commit 06e5858ee2
3 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ var IPython = (function (IPython) {
var i, half, n;
// Command mode
var cmd_div = $('<div/>').append($('<h4>Command Mode (press ESC to enable)</h4>'));
var cmd_div = $('<div/>').append($('<h4>Command Mode (press <tt>esc</tt> to enable)</h4>'));
var cmd_sub_div = $('<div/>').addClass('hbox');
var cmd_col1 = $('<div/>').addClass('box-flex0');
var cmd_col2 = $('<div/>').addClass('box-flex0');
@ -98,7 +98,7 @@ var IPython = (function (IPython) {
var i, half, n;
// Edit mode
var edit_div = $('<div/>').append($('<h4>Edit Mode (press ENTER to enable)</h4>'));
var edit_div = $('<div/>').append($('<h4>Edit Mode (press <tt>enter</tt> to enable)</h4>'));
var edit_sub_div = $('<div/>').addClass('hbox');
var edit_col1 = $('<div/>').addClass('box-flex0');
var edit_col2 = $('<div/>').addClass('box-flex0');

View File

@ -56,7 +56,7 @@ var tour_steps = [
title: "Edit Mode",
placement: 'bottom',
onShow: function(tour) { edit_mode(); },
content: "Pressing Enter or clicking in the input text area of the cell switches to Edit Mode."
content: "Pressing <tt>enter</tt> or clicking in the input text area of the cell switches to Edit Mode."
}, {
element: '.selected',
title: "Edit Mode",
@ -68,7 +68,7 @@ var tour_steps = [
title: "Back to Command Mode",
placement: 'bottom',
onShow: function(tour) { IPython.notebook.command_mode(); },
content: "Pressing Esc or clicking outside of the input text area takes you back to Command Mode."
content: "Pressing <tt>esc</tt> or clicking outside of the input text area takes you back to Command Mode."
}, {
element: '#keyboard_shortcuts',
title: "Keyboard Shortcuts",

View File

@ -45,7 +45,7 @@
"};\n",
"</script>\n",
"\n",
"Run a code cell using `Shift-Enter` or pressing the <button><i class=\"icon-play\"></i></button> button in the <a href=\"#\" onMouseover=\"hl('#maintoolbar-container', 1)\" onMouseout=\"hl('#maintoolbar-container', 0)\">toolbar</a> above:"
"Run a code cell using `shift-enter` or pressing the <button><i class=\"icon-play\"></i></button> button in the <a href=\"#\" onMouseover=\"hl('#maintoolbar-container', 1)\" onMouseout=\"hl('#maintoolbar-container', 0)\">toolbar</a> above:"
]
},
{