remove dependencies to namespace in SessionList

Matthias Bussonnier 11 years ago
parent 4c08e4caf4
commit 44de1ac270

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

@ -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};
});

Loading…
Cancel
Save