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