Show More
@@ -8,18 +8,15 b' var IPython = (function (IPython) {' | |||
|
8 | 8 | // easyier key mapping |
|
9 | 9 | var key = IPython.utils.keycodes; |
|
10 | 10 | |
|
11 | // what is the common start of all completions | |
|
12 | 11 | function _existing_completion(item, completion_array){ |
|
13 | if(item.substr(0,1) == '.') { | |
|
14 | 12 |
|
|
15 | 13 |
|
|
16 | 14 |
|
|
17 | 15 |
|
|
18 | 16 |
|
|
19 | 17 |
|
|
20 | else {return completion_array.indexOf(item) != -1} | |
|
21 | } | |
|
22 | 18 | |
|
19 | // what is the common start of all completions | |
|
23 | 20 | function shared_start(B) { |
|
24 | 21 | if (B.length == 1) { |
|
25 | 22 | return B[0]; |
General Comments 0
You need to be logged in to leave comments.
Login now