##// END OF EJS Templates
fixes #4039....
Matthias BUSSONNIER -
Show More
@@ -329,7 +329,8 var IPython = (function (IPython) {
329 *
329 *
330 * @param list_list {list of sublist} List of sublist of metadata value and name in the dropdown list.
330 * @param list_list {list of sublist} List of sublist of metadata value and name in the dropdown list.
331 * subslit shoud contain 2 element each, first a string that woul be displayed in the dropdown list,
331 * subslit shoud contain 2 element each, first a string that woul be displayed in the dropdown list,
332 * and second the corresponding value to be passed to setter/return by getter.
332 * and second the corresponding value to be passed to setter/return by getter. the corresponding value
333 * should not be "undefined" or behavior can be unexpected.
333 * @param setter {function( cell, newValue )}
334 * @param setter {function( cell, newValue )}
334 * A setter method to set the newValue
335 * A setter method to set the newValue
335 * @param getter {function( cell )}
336 * @param getter {function( cell )}
@@ -341,7 +342,7 var IPython = (function (IPython) {
341 * @example
342 * @example
342 *
343 *
343 * var select_type = CellToolbar.utils.select_ui_generator([
344 * var select_type = CellToolbar.utils.select_ui_generator([
344 * ["<None>" , undefined ],
345 * ["<None>" , "None" ],
345 * ["Header Slide" , "header_slide" ],
346 * ["Header Slide" , "header_slide" ],
346 * ["Slide" , "slide" ],
347 * ["Slide" , "slide" ],
347 * ["Fragment" , "fragment" ],
348 * ["Fragment" , "fragment" ],
@@ -9,14 +9,6
9 //CellToolbar Example
9 //CellToolbar Example
10 //============================================================================
10 //============================================================================
11
11
12 /**
13 * $.getScript('/static/js/celltoolbarpresets/slideshow.js');
14 * ```
15 * or more generally
16 * ```
17 * $.getScript('url to this file');
18 * ```
19 */
20 // IIFE without asignement, we don't modifiy the IPython namespace
12 // IIFE without asignement, we don't modifiy the IPython namespace
21 (function (IPython) {
13 (function (IPython) {
22 "use strict";
14 "use strict";
@@ -25,7 +17,7
25 var slideshow_preset = [];
17 var slideshow_preset = [];
26
18
27 var select_type = CellToolbar.utils.select_ui_generator([
19 var select_type = CellToolbar.utils.select_ui_generator([
28 ["-" ,undefined ],
20 ["-" ,"-" ],
29 ["Slide" ,"slide" ],
21 ["Slide" ,"slide" ],
30 ["Sub-Slide" ,"subslide" ],
22 ["Sub-Slide" ,"subslide" ],
31 ["Fragment" ,"fragment" ],
23 ["Fragment" ,"fragment" ],
General Comments 0
You need to be logged in to leave comments. Login now