remove dependencies to namespace in SaveWidget

This commit is contained in:
Matthias Bussonnier 2015-05-19 10:56:11 -07:00
parent 551b235c49
commit cf666e0af1
2 changed files with 2 additions and 5 deletions

View File

@ -62,6 +62,7 @@ define(function(){
jglobal('Notebook','notebook/js/notebook');
jglobal('Tooltip','notebook/js/tooltip');
jglobal('Toolbar','notebook/js/toolbar');
jglobal('SaveWidget','notebook/js/savewidget');
Jupyter.version = "4.0.0.dev";
Jupyter._target = '_blank';

View File

@ -2,13 +2,12 @@
// Distributed under the terms of the Modified BSD License.
define([
'base/js/namespace',
'jquery',
'base/js/utils',
'base/js/dialog',
'base/js/keyboard',
'moment',
], function(IPython, $, utils, dialog, keyboard, moment) {
], function($, utils, dialog, keyboard, moment) {
"use strict";
var SaveWidget = function (selector, options) {
@ -217,9 +216,6 @@ define([
}
};
// Backwards compatibility.
IPython.SaveWidget = SaveWidget;
return {'SaveWidget': SaveWidget};
});