##// END OF EJS Templates
Fixing cell_type in CodeCell constructor....
Brian E. Granger -
Show More
@@ -63,7 +63,6 b' var IPython = (function (IPython) {'
63 var CodeCell = function (kernel, options) {
63 var CodeCell = function (kernel, options) {
64 this.kernel = kernel || null;
64 this.kernel = kernel || null;
65 this.collapsed = false;
65 this.collapsed = false;
66 this.cell_type = "code";
67
66
68 // create all attributed in constructor function
67 // create all attributed in constructor function
69 // even if null for V8 VM optimisation
68 // even if null for V8 VM optimisation
@@ -82,6 +81,9 b' var IPython = (function (IPython) {'
82
81
83 IPython.Cell.apply(this,[options]);
82 IPython.Cell.apply(this,[options]);
84
83
84 // Attributes we want to override in this subclass.
85 this.cell_type = "code";
86
85 var that = this;
87 var that = this;
86 this.element.focusout(
88 this.element.focusout(
87 function() { that.auto_highlight(); }
89 function() { that.auto_highlight(); }
General Comments 0
You need to be logged in to leave comments. Login now