Show More
@@ -278,6 +278,7 b' var IPython = (function (IPython) {' | |||||
278 |
|
278 | |||
279 | // give common prefix of a array of string |
|
279 | // give common prefix of a array of string | |
280 | function sharedStart(A){ |
|
280 | function sharedStart(A){ | |
|
281 | if(A.length == 1){return A[0]} | |||
281 | if(A.length > 1 ){ |
|
282 | if(A.length > 1 ){ | |
282 | var tem1, tem2, s, A = A.slice(0).sort(); |
|
283 | var tem1, tem2, s, A = A.slice(0).sort(); | |
283 | tem1 = A[0]; |
|
284 | tem1 = A[0]; |
General Comments 0
You need to be logged in to leave comments.
Login now