don't reverse bind to IPython namespace in Notebook

This commit is contained in:
Matthias Bussonnier 2015-05-19 10:49:59 -07:00
parent f3e50f0fd5
commit bb690fbd9d
2 changed files with 5 additions and 8 deletions

View File

@ -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';

View File

@ -1140,7 +1140,7 @@ define(function (require) {
keyboard_manager: this.keyboard_manager,
title : "Use markdown headings",
body : $("<p/>").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($('<pre/>').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 = $("<div>").append($("<p>")
.text("A trusted IPython notebook may execute hidden malicious code ")
.text("A trusted Jupyter notebook may execute hidden malicious code ")
.append($("<strong>")
.append(
$("<em>").text("when you open it")
@ -2042,7 +2042,7 @@ define(function (require) {
).append(
" For more information, see the "
).append($("<a>").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};
});