Skip to content

Commit 3cc628e

Browse files
committed
Fix typo
1 parent fb5deee commit 3cc628e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

notebook/bundler/tests/test_bundler_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_missing_bundler_arg(self):
4646
self.assertIn('Missing argument bundler', resp.text)
4747

4848
def test_notebook_not_found(self):
49-
"""Shoudl respond with 404 error about missing notebook"""
49+
"""Should respond with 404 error about missing notebook"""
5050
resp = self.request('GET', 'bundle/fake.ipynb',
5151
params={'bundler': 'fake_bundler'})
5252
self.assertEqual(resp.status_code, 404)

notebook/static/notebook/js/celltoolbar.js

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

notebook/static/notebook/js/codecell.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ define([
253253
}
254254

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

notebook/static/notebook/js/completer.js

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

notebook/static/notebook/js/tooltip.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ define([
135135
};
136136

137137
// deal with all the logic of hiding the tooltip
138-
// and reset it's status
138+
// and reset its status
139139
Tooltip.prototype._hide = function () {
140140
this._hidden = true;
141141
this.tooltip.fadeOut('fast');
@@ -243,7 +243,7 @@ define([
243243
this._sticky = false;
244244
};
245245

246-
// put the tooltip in a sicky state for 10 seconds
246+
// put the tooltip in a sticky state for 10 seconds
247247
// it won't be removed by remove_and_cancel() unless you called with
248248
// the first parameter set to true.
249249
// remove_and_cancel_tooltip(true)

0 commit comments

Comments
 (0)