From 33bcdf907df9953d131b642774a1de6c8c0e6d23 Mon Sep 17 00:00:00 2001 From: "Brian E. Granger" Date: Thu, 15 Oct 2015 10:52:07 -0400 Subject: [PATCH] Fixing tests and example notebook --- docs/source/examples/Notebook/Custom Keyboard Shortcuts.ipynb | 2 +- notebook/tests/notebook/execute_code.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/examples/Notebook/Custom Keyboard Shortcuts.ipynb b/docs/source/examples/Notebook/Custom Keyboard Shortcuts.ipynb index af9466a6b..c38a05ccd 100644 --- a/docs/source/examples/Notebook/Custom Keyboard Shortcuts.ipynb +++ b/docs/source/examples/Notebook/Custom Keyboard Shortcuts.ipynb @@ -114,7 +114,7 @@ "source": [ "%%javascript\n", "\n", - "Jupyter.keyboard_manager.command_shortcuts.add_shortcut('r', 'ipython.change-cell-to-raw');" + "Jupyter.keyboard_manager.command_shortcuts.add_shortcut('r', 'jupyter-notebook:change-cell-to-raw');" ] } ], diff --git a/notebook/tests/notebook/execute_code.js b/notebook/tests/notebook/execute_code.js index 0ab867f5d..9a5e933a4 100644 --- a/notebook/tests/notebook/execute_code.js +++ b/notebook/tests/notebook/execute_code.js @@ -66,7 +66,7 @@ casper.notebook_test(function () { IPython.notebook.select(0); cell.clear_output(); cell.set_text('a=13; print(a)'); - $("button[data-jupyter-action='ipython.run-cell-and-select-next']")[0].click() + $("button[data-jupyter-action='jupyter-notebook:run-cell-and-select-next']")[0].click() }); this.wait_for_output(0);