mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
commit
da001113fa
@ -12,9 +12,9 @@ casper.notebook_test(function () {
|
||||
|
||||
this.evaluate(function () {
|
||||
var cell = IPython.notebook.get_cell(0);
|
||||
var json = cell.toJSON()
|
||||
json.prompt_number = "<script> alert('hello from input prompts !')</script>"
|
||||
cell.fromJSON(j)
|
||||
var json = cell.toJSON();
|
||||
json.prompt_number = "<script> alert('hello from input prompts !')</script>";
|
||||
cell.fromJSON(json);
|
||||
});
|
||||
|
||||
this.then(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user