From 4c08e4caf4e8acba3eadbc068d668ef62597da10 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 19 May 2015 10:59:15 -0700 Subject: [PATCH] remove dependencies to namespace in QuickHelp --- notebook/static/base/js/namespace.js | 1 + notebook/static/notebook/js/quickhelp.js | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/notebook/static/base/js/namespace.js b/notebook/static/base/js/namespace.js index aab3d6972..ab356f695 100644 --- a/notebook/static/base/js/namespace.js +++ b/notebook/static/base/js/namespace.js @@ -64,6 +64,7 @@ define(function(){ jglobal('Toolbar','notebook/js/toolbar'); jglobal('SaveWidget','notebook/js/savewidget'); jglobal('Pager','notebook/js/pager'); + jglobal('QuickHelp','notebook/js/quickhelp'); Jupyter.version = "4.0.0.dev"; Jupyter._target = '_blank'; diff --git a/notebook/static/notebook/js/quickhelp.js b/notebook/static/notebook/js/quickhelp.js index 6158b1da1..8a46d66bd 100644 --- a/notebook/static/notebook/js/quickhelp.js +++ b/notebook/static/notebook/js/quickhelp.js @@ -2,11 +2,10 @@ // Distributed under the terms of the Modified BSD License. define([ - 'base/js/namespace', 'jquery', 'base/js/utils', 'base/js/dialog', -], function(IPython, $, utils, dialog) { +], function($, utils, dialog) { "use strict"; var platform = utils.platform; @@ -173,7 +172,7 @@ define([ doc.append( $('