mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
FileUploadWidget- Removed backbone events line, added headers
This commit is contained in:
parent
faa45751c1
commit
930e5c70be
@ -99,6 +99,14 @@
|
||||
],
|
||||
"prompt_number": 1
|
||||
},
|
||||
{
|
||||
"cell_type": "heading",
|
||||
"level": 1,
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Custom Widget"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
@ -146,7 +154,6 @@
|
||||
" },\n",
|
||||
" \n",
|
||||
" // Handles: User input\n",
|
||||
" events: { \"change\" : \"handleFileChange\" }, \n",
|
||||
" handleFileChange: function(evt) { \n",
|
||||
" \n",
|
||||
" //Retrieve the first (and only!) File from the FileList object\n",
|
||||
@ -230,6 +237,14 @@
|
||||
],
|
||||
"prompt_number": 3
|
||||
},
|
||||
{
|
||||
"cell_type": "heading",
|
||||
"level": 1,
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"Usage"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
@ -272,14 +287,6 @@
|
||||
}
|
||||
],
|
||||
"prompt_number": 4
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"collapsed": false,
|
||||
"input": [],
|
||||
"language": "python",
|
||||
"metadata": {},
|
||||
"outputs": []
|
||||
}
|
||||
],
|
||||
"metadata": {}
|
||||
|
Loading…
Reference in New Issue
Block a user