##// END OF EJS Templates
Allow to specify CodeMirror's syntax mode as MIME...
Mateusz Paprocki -
Show More
@@ -1529,7 +1529,7 b' define(['
1529 }
1529 }
1530 this.codemirror_mode = newmode;
1530 this.codemirror_mode = newmode;
1531 codecell.CodeCell.options_default.cm_config.mode = newmode;
1531 codecell.CodeCell.options_default.cm_config.mode = newmode;
1532 modename = newmode.name || newmode
1532 modename = newmode.mode || newmode.name || newmode
1533
1533
1534 that = this;
1534 that = this;
1535 utils.requireCodeMirrorMode(modename, function () {
1535 utils.requireCodeMirrorMode(modename, function () {
General Comments 0
You need to be logged in to leave comments. Login now