pull/5917/head
user202729 5 years ago
parent fb5deeed23
commit 3cc628e3fe

@ -46,7 +46,7 @@ class BundleAPITest(NotebookTestBase):
self.assertIn('Missing argument bundler', resp.text)
def test_notebook_not_found(self):
"""Shoudl respond with 404 error about missing notebook"""
"""Should respond with 404 error about missing notebook"""
resp = self.request('GET', 'bundle/fake.ipynb',
params={'bundler': 'fake_bundler'})
self.assertEqual(resp.status_code, 404)

@ -403,7 +403,7 @@ define([
* @static
*
* @param list_list {list_of_sublist} List of sublist of metadata value and name in the dropdown list.
* subslit should contain 2 element each, first a string that woul be displayed in the dropdown list,
* sublist should contain 2 element each, first a string that would be displayed in the dropdown list,
* and second the corresponding value to be passed to setter/return by getter. the corresponding value
* should not be "undefined" or behavior can be unexpected.
* @param setter {function( cell, newValue )}

@ -253,7 +253,7 @@ define([
}
if (event.which === keycodes.down && event.type === 'keypress' && this.tooltip.time_before_tooltip >= 0) {
// triger on keypress (!) otherwise inconsistent event.which depending on plateform
// triger on keypress (!) otherwise inconsistent event.which depending on platform
// browser and keyboard layout !
// Pressing '(' , request tooltip, don't forget to reappend it
// The second argument says to hide the tooltip if the docstring

@ -348,7 +348,7 @@ define([
} else if (code == keycodes.tab) {
//all the fastforwarding operation,
//Check that shared start is not null which can append with prefixed completion
// like %pylab , pylab have no shred start, and ff will result in py<tab><tab>
// like %pylab , pylab have no shared start, and ff will result in py<tab><tab>
// to erase py
var sh = shared_start(this.raw_result, true);
if (sh.str !== '') {
@ -358,7 +358,7 @@ define([
this.carry_on_completion();
} else if (code == keycodes.up || code == keycodes.down) {
// need to do that to be able to move the arrow
// when on the first or last line ofo a code cell
// when on the first or last line of a code cell
event.codemirrorIgnore = true;
event._ipkmIgnore = true;
event.preventDefault();

@ -135,7 +135,7 @@ define([
};
// deal with all the logic of hiding the tooltip
// and reset it's status
// and reset its status
Tooltip.prototype._hide = function () {
this._hidden = true;
this.tooltip.fadeOut('fast');
@ -243,7 +243,7 @@ define([
this._sticky = false;
};
// put the tooltip in a sicky state for 10 seconds
// put the tooltip in a sticky state for 10 seconds
// it won't be removed by remove_and_cancel() unless you called with
// the first parameter set to true.
// remove_and_cancel_tooltip(true)

Loading…
Cancel
Save