serves files in IPYTHONDIR/nbextensions at /nbextensions.
This is a location for users / devs to drop-in frontend customization as js modules, css, etc.
The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc.
It's a configurable search path, just like static. This way we can define a system-wide location at a later point
fixes#4039.
Issues is that $(selector).val() return the associated text if no data
is present (hence one cannot associate explicitely an option to
"undefined")
fix in doc and example.
serves files in `IPYTHONDIR/js_extensions` at `/js_extensions`.
This is a location for users / devs to drop-in frontend customization as js modules, css, etc.
The model is very much like the extensions dir (hence the name) - it's a location made available, but not loaded by default. You can load things from there with require, etc.
It's a configurable search path, just like static. This way we can define a system-wide location at a later point (/usr/share/ipython/js_extensions?) and still have user installs.
Issues is that $(selector).val() return the associated text if no data
is present (hence one cannot associate explicitely an option to
"undefined")
fix in doc and example.
moves away from global constants to utility functions.
The code is still only executed once,
but instead of at import time, it is executed at first request.
catch javascript errors in any output
not just javascript.
catches js errors appending anything to the output area, such as js in HTML (#4095).
closes#4095
The default notebook name is Untitled<x>. It is unlikely the user will want to
keep this name or part of it. Instead, select the text in the input field so the
user can easily type over the name and change it.