mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
remove dependencies to namespace in SaveWidget
This commit is contained in:
parent
551b235c49
commit
cf666e0af1
@ -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';
|
||||
|
@ -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};
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user