@ -322,8 +322,8 @@ var IPython = (function (IPython) {
}
// fallback on default (python)
var default_mode = this.default_mode || 'text/plain';
// fallback on default
var default_mode = this._options.cm_config.mode || 'text/plain';
this.code_mirror.setOption('mode', default_mode);
};
@ -65,7 +65,6 @@ var IPython = (function (IPython) {
this.code_mirror = null;
this.input_prompt_number = null;
this.collapsed = false;
this.default_mode = 'ipython';
this.cell_type = "code";