##// END OF EJS Templates
on("destroy",...) -> once("destroy",...) so we don't keep a reference to it, preventing gc...
on("destroy",...) -> once("destroy",...) so we don't keep a reference to it, preventing gc Thanks to Sylvain Corlay for the suggestion.

File last commit:

r16113:87737521
r18058:c7253b21
Show More
other.ipynb
32 lines | 501 B | text/plain | TextLexer
MinRK
add Importing Notebooks example
r11699 {
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook just defines `bar`"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"def bar(x):\n",
" return \"bar\" * x"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 2
}
],
"metadata": {}
}
]
}