##// END OF EJS Templates
fix example.js
Matthias BUSSONNIER -
Show More
@@ -15,7 +15,7
15 * Celltoolbar UI for slideshow
15 * Celltoolbar UI for slideshow
16 *
16 *
17 * ```
17 * ```
18 * $.getScript('/static/js/examples/celltoolbar.example.js');
18 * $.getScript('/static/js/celltoolbarpresets/example.js');
19 * ```
19 * ```
20 */
20 */
21 // IIFE without asignement, we don't modifiy the IPython namespace
21 // IIFE without asignement, we don't modifiy the IPython namespace
@@ -24,6 +24,8
24
24
25 var CellToolbar = IPython.CellToolbar;
25 var CellToolbar = IPython.CellToolbar;
26
26
27 var example_preset = [];
28
27 var simple_button = function(div, cell) {
29 var simple_button = function(div, cell) {
28 var button_container = $(div);
30 var button_container = $(div);
29 var button = $('<div/>').button({icons:{primary:'ui-icon-locked'}});
31 var button = $('<div/>').button({icons:{primary:'ui-icon-locked'}});
@@ -34,10 +34,10
34 * to load custom script into the notebook.
34 * to load custom script into the notebook.
35 *
35 *
36 * // to load the metadata ui extension example.
36 * // to load the metadata ui extension example.
37 * $.getScript('/static/js/examples/celltoolbar.example.js');
37 * $.getScript('/static/js/celltoolbarpresets/example.js');
38 * // or
38 * // or
39 * // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert
39 * // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert
40 * $.getScript('/static/js/examples/celltoolbar.slideshow.js');
40 * $.getScript('/static/js/celltoolbarpresets/slideshow.js');
41 *
41 *
42 *
42 *
43 * @module IPython
43 * @module IPython
General Comments 0
You need to be logged in to leave comments. Login now