Show More
@@ -435,9 +435,9 b' var IPython = (function (IPython) {' | |||||
435 | for( var mode in modes) { |
|
435 | for( var mode in modes) { | |
436 | var regs = modes[mode]['reg']; |
|
436 | var regs = modes[mode]['reg']; | |
437 | // only one key every time but regexp can't be keys... |
|
437 | // only one key every time but regexp can't be keys... | |
438 |
for(var |
|
438 | for(var i=0; i<regs.length; i++) { | |
439 | // here we handle non magic_modes |
|
439 | // here we handle non magic_modes | |
440 |
if(first_line.match(regs[ |
|
440 | if(first_line.match(regs[i]) != null) { | |
441 | if(current_mode == mode){ |
|
441 | if(current_mode == mode){ | |
442 | return; |
|
442 | return; | |
443 | } |
|
443 | } |
General Comments 0
You need to be logged in to leave comments.
Login now