mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-24 14:20:54 +08:00
fix example.js
This commit is contained in:
parent
7401054c94
commit
3e52d29b61
@ -15,7 +15,7 @@
|
||||
* Celltoolbar UI for slideshow
|
||||
*
|
||||
* ```
|
||||
* $.getScript('/static/js/examples/celltoolbar.example.js');
|
||||
* $.getScript('/static/js/celltoolbarpresets/example.js');
|
||||
* ```
|
||||
*/
|
||||
// IIFE without asignement, we don't modifiy the IPython namespace
|
||||
@ -24,6 +24,8 @@
|
||||
|
||||
var CellToolbar = IPython.CellToolbar;
|
||||
|
||||
var example_preset = [];
|
||||
|
||||
var simple_button = function(div, cell) {
|
||||
var button_container = $(div);
|
||||
var button = $('<div/>').button({icons:{primary:'ui-icon-locked'}});
|
||||
|
@ -34,10 +34,10 @@
|
||||
* to load custom script into the notebook.
|
||||
*
|
||||
* // to load the metadata ui extension example.
|
||||
* $.getScript('/static/js/examples/celltoolbar.example.js');
|
||||
* $.getScript('/static/js/celltoolbarpresets/example.js');
|
||||
* // or
|
||||
* // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert
|
||||
* $.getScript('/static/js/examples/celltoolbar.slideshow.js');
|
||||
* $.getScript('/static/js/celltoolbarpresets/slideshow.js');
|
||||
*
|
||||
*
|
||||
* @module IPython
|
||||
|
Loading…
x
Reference in New Issue
Block a user