##// END OF EJS Templates
a few todo
Matthias BUSSONNIER -
Show More
@@ -6,6 +6,7 b' define(['
6 6 'jquery',
7 7 'base/js/utils',
8 8 ], function(IPython, $, utils) {
9 // TODO: remove IPython dependency here
9 10 "use strict";
10 11
11 12 // monkey patch CM to be able to syntax highlight cell magics
@@ -556,7 +557,7 b' define(['
556 557 this.code_mirror.setOption('mode', default_mode);
557 558 };
558 559
559 // Backwards compatability.
560 // Backwards compatibility.
560 561 IPython.Cell = Cell;
561 562
562 563 return {'Cell': Cell};
@@ -16,6 +16,9 b' define(['
16 16 // events: $(Events) instance
17 17 // cell: Cell instance
18 18 // notebook: Notebook instance
19 //
20 // TODO: This leaks, when cell are deleted
21 // There is still a reference to each celltoolbars.
19 22 CellToolbar._instances.push(this);
20 23 this.notebook = options.notebook;
21 24 this.events = options.events;
General Comments 0
You need to be logged in to leave comments. Login now