##// END OF EJS Templates
minor fixes to docs to address PR feedback
Paul Ivanov -
Show More
@@ -164,7 +164,7 b' var IPython = (function (IPython) {'
164 164 *
165 165 * @method handle_codemirror_keyevent
166 166 * @param {CodeMirror} editor - The codemirror instance bound to the cell
167 * @param {event} event -
167 * @param {event} event - key press event which either should or should not be handled by CodeMirror
168 168 * @return {Boolean} `true` if CodeMirror should ignore the event, `false` Otherwise
169 169 */
170 170 Cell.prototype.handle_codemirror_keyevent = function (editor, event) {
@@ -202,9 +202,9 b' var IPython = (function (IPython) {'
202 202 // is actually empty
203 203 IPython.tooltip.pending(that, true);
204 204 } else if ( tooltip_closed && event.which === keycodes.esc && event.type === 'keydown') {
205 // If tooltip is active, cancel it.
206 // The call to remove_and_cancel_tooltip above in L177 doesn't pass
207 // force=true. Because of this it won't actually close the tooltip
205 // If tooltip is active, cancel it. The call to
206 // remove_and_cancel_tooltip above doesn't pass, force=true.
207 // Because of this it won't actually close the tooltip
208 208 // if it is in sticky mode. Thus, we have to check again if it is open
209 209 // and close it with force=true.
210 210 if (!IPython.tooltip._hidden) {
@@ -410,7 +410,7 b' var IPython = (function (IPython) {'
410 410
411 411 CodeCell.input_prompt_classical = function (prompt_value, lines_number) {
412 412 var ns;
413 if (prompt_value == undefined) {
413 if (prompt_value === undefined) {
414 414 ns = " ";
415 415 } else {
416 416 ns = encodeURIComponent(prompt_value);
General Comments 0
You need to be logged in to leave comments. Login now