diff --git a/notebook/static/base/js/namespace.js b/notebook/static/base/js/namespace.js index ab356f695..4296981d3 100644 --- a/notebook/static/base/js/namespace.js +++ b/notebook/static/base/js/namespace.js @@ -56,6 +56,8 @@ define(function(){ jglobal('MarkdownCell','base/js/textcell'); jglobal('RawCell','base/js/textcell'); jglobal('Cell','base/js/cell'); + + // notebook jglobal('OutputArea','notebook/js/outputarea'); jglobal('KeyboardManager','notebook/js/keyboardmanager'); jglobal('Completer','notebook/js/completer'); @@ -66,6 +68,9 @@ define(function(){ jglobal('Pager','notebook/js/pager'); jglobal('QuickHelp','notebook/js/quickhelp'); + // tree + jglobal('SessionList','tree/js/sessionlist'); + Jupyter.version = "4.0.0.dev"; Jupyter._target = '_blank'; return Jupyter; diff --git a/notebook/static/tree/js/sessionlist.js b/notebook/static/tree/js/sessionlist.js index edb5328d9..129d668ed 100644 --- a/notebook/static/tree/js/sessionlist.js +++ b/notebook/static/tree/js/sessionlist.js @@ -2,10 +2,9 @@ // Distributed under the terms of the Modified BSD License. define([ - 'base/js/namespace', 'jquery', 'base/js/utils', -], function(IPython, $, utils) { +], function($, utils) { "use strict"; var SesssionList = function (options) { @@ -78,8 +77,5 @@ define([ this.events.trigger('sessions_loaded.Dashboard', this.sessions); }; - // Backwards compatability. - IPython.SesssionList = SesssionList; - return {'SesssionList': SesssionList}; });