fix example.js

This commit is contained in:
Matthias BUSSONNIER 2013-01-14 19:28:04 +01:00
parent 7401054c94
commit 3e52d29b61
2 changed files with 5 additions and 3 deletions

View File

@ -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'}});

View File

@ -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