Merge pull request #4688 from onceuponatimeforever/fixed-typos

Fixed various typos in docstrings.
This commit is contained in:
Thomas Kluyver 2013-12-13 09:44:57 -08:00
commit f541b7d8ef

View File

@ -1,11 +1,11 @@
// function completer.
//
// completer should be a class that take an cell instance
// completer should be a class that takes an cell instance
var IPython = (function (IPython) {
// that will prevent us from misspelling
"use strict";
// easyier key mapping
// easier key mapping
var key = IPython.utils.keycodes;
function prepend_n_prc(str, n) {
@ -114,7 +114,7 @@ var IPython = (function (IPython) {
* shared start
**/
Completer.prototype.carry_on_completion = function (first_invocation) {
// Pass true as parameter if you want the commpleter to autopick when
// Pass true as parameter if you want the completer to autopick when
// only one completion. This function is automatically reinvoked at
// each keystroke with first_invocation = false
var cur = this.editor.getCursor();