diff --git a/notebook/static/base/js/namespace.js b/notebook/static/base/js/namespace.js index 43479f2ab..e0445cd0c 100644 --- a/notebook/static/base/js/namespace.js +++ b/notebook/static/base/js/namespace.js @@ -59,6 +59,7 @@ define(function(){ jglobal('OutputArea','notebook/js/outputarea'); jglobal('KeyboardManager','notebook/js/keyboardmanager'); jglobal('Completer','notebook/js/completer'); + jglobal('Notebook','notebook/js/notebook'); Jupyter.version = "4.0.0.dev"; Jupyter._target = '_blank'; diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 93a112315..87901ed25 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -1140,7 +1140,7 @@ define(function (require) { keyboard_manager: this.keyboard_manager, title : "Use markdown headings", body : $("

").text( - 'IPython no longer uses special heading cells. ' + + 'Jupyter no longer uses special heading cells. ' + 'Instead, write your headings in Markdown cells using # characters:' ).append($('

').text(
                 '## This is a level 2 heading'
@@ -1618,7 +1618,7 @@ define(function (require) {
     };
     
     /**
-     * Prompt the user to restart the IPython kernel.
+     * Prompt the user to restart the Jupyter kernel.
      */
     Notebook.prototype.restart_kernel = function () {
         var that = this;
@@ -2032,7 +2032,7 @@ define(function (require) {
      */
     Notebook.prototype.trust_notebook = function () {
         var body = $("
").append($("

") - .text("A trusted IPython notebook may execute hidden malicious code ") + .text("A trusted Jupyter notebook may execute hidden malicious code ") .append($("") .append( $("").text("when you open it") @@ -2042,7 +2042,7 @@ define(function (require) { ).append( " For more information, see the " ).append($("").attr("href", "http://ipython.org/ipython-doc/2/notebook/security.html") - .text("IPython security documentation") + .text("Jupyter security documentation") ).append(".") ); @@ -2509,9 +2509,5 @@ define(function (require) { this.load_notebook(this.notebook_path); }; - - // For backwards compatability. - IPython.Notebook = Notebook; - return {'Notebook': Notebook}; });