From 3c7f5ee04a0f1fa54180e62fcf68cd9f86a2c3e3 Mon Sep 17 00:00:00 2001 From: Tom Malone Date: Mon, 19 Oct 2015 19:43:26 -0400 Subject: [PATCH] Added javascript extension which is supposed to add sliders for numbers in code blocks, but it is not yet working for some reason. --- ipython-inlets.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ipython-inlets.js diff --git a/ipython-inlets.js b/ipython-inlets.js new file mode 100644 index 0000000..852b8db --- /dev/null +++ b/ipython-inlets.js @@ -0,0 +1,39 @@ +console.info('iPython Inlets script loaded...'); + +;(function(IPython, $, require, element){ + 'use strict'; + // this would be replaced with `nbextensions/inlet` + var url_base = '//enjalot.github.io/Inlet'; + + // add the style (for the slider) + $(element).append($('