From fb6d92509b51cf60b19378163a599abf5341ecee Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Mon, 18 May 2015 17:32:42 -0700 Subject: [PATCH] Move binding to IPython global one level up the stack --- notebook/static/tree/js/main.js | 2 ++ notebook/static/tree/js/notebooklist.js | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/notebook/static/tree/js/main.js b/notebook/static/tree/js/main.js index 6228925c9..90b53d7ad 100644 --- a/notebook/static/tree/js/main.js +++ b/notebook/static/tree/js/main.js @@ -39,6 +39,8 @@ require([ loginwidget){ "use strict"; + IPython.NotebookList = notebooklist.NotebookList; + page = new page.Page(); var common_options = { diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index 6a974345d..0cd12ea6d 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -874,9 +874,5 @@ define([ .append(cancel_button); }; - - // Backwards compatability. - IPython.NotebookList = NotebookList; - return {'NotebookList': NotebookList}; });