Show More
@@ -371,6 +371,9 b' IPython.utils = (function (IPython) {' | |||||
371 | // join a sequence of url components with '/' |
|
371 | // join a sequence of url components with '/' | |
372 | var url = ''; |
|
372 | var url = ''; | |
373 | for (var i = 0; i < arguments.length; i++) { |
|
373 | for (var i = 0; i < arguments.length; i++) { | |
|
374 | if (arguments[i] === '') { | |||
|
375 | continue; | |||
|
376 | } | |||
374 | if (url.length > 0 && url[url.length-1] != '/') { |
|
377 | if (url.length > 0 && url[url.length-1] != '/') { | |
375 | url = url + '/' + arguments[i]; |
|
378 | url = url + '/' + arguments[i]; | |
376 | } else { |
|
379 | } else { |
General Comments 0
You need to be logged in to leave comments.
Login now