Show More
@@ -71,7 +71,7 var IPython = (function (IPython) { | |||
|
71 | 71 | reader.readAsText(f); |
|
72 | 72 | var name_and_ext = utils.splitext(f.name); |
|
73 | 73 | var nbname = name_and_ext[0]; |
|
74 |
var file_ext = name_and_ext[ |
|
|
74 | var file_ext = name_and_ext[1]; | |
|
75 | 75 | if (file_ext === '.ipynb') { |
|
76 | 76 | var item = that.new_notebook_item(0); |
|
77 | 77 | that.add_name_input(nbname, item); |
@@ -326,7 +326,7 var IPython = (function (IPython) { | |||
|
326 | 326 | var settings = { |
|
327 | 327 | processData : false, |
|
328 | 328 | cache : false, |
|
329 |
type : 'P |
|
|
329 | type : 'PUT', | |
|
330 | 330 | dataType : 'json', |
|
331 | 331 | data : JSON.stringify(model), |
|
332 | 332 | headers : {'Content-Type': content_type}, |
General Comments 0
You need to be logged in to leave comments.
Login now