mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +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('Notebook','notebook/js/notebook');
|
||||||
jglobal('Tooltip','notebook/js/tooltip');
|
jglobal('Tooltip','notebook/js/tooltip');
|
||||||
jglobal('Toolbar','notebook/js/toolbar');
|
jglobal('Toolbar','notebook/js/toolbar');
|
||||||
|
jglobal('SaveWidget','notebook/js/savewidget');
|
||||||
|
|
||||||
Jupyter.version = "4.0.0.dev";
|
Jupyter.version = "4.0.0.dev";
|
||||||
Jupyter._target = '_blank';
|
Jupyter._target = '_blank';
|
||||||
|
@ -2,13 +2,12 @@
|
|||||||
// Distributed under the terms of the Modified BSD License.
|
// Distributed under the terms of the Modified BSD License.
|
||||||
|
|
||||||
define([
|
define([
|
||||||
'base/js/namespace',
|
|
||||||
'jquery',
|
'jquery',
|
||||||
'base/js/utils',
|
'base/js/utils',
|
||||||
'base/js/dialog',
|
'base/js/dialog',
|
||||||
'base/js/keyboard',
|
'base/js/keyboard',
|
||||||
'moment',
|
'moment',
|
||||||
], function(IPython, $, utils, dialog, keyboard, moment) {
|
], function($, utils, dialog, keyboard, moment) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var SaveWidget = function (selector, options) {
|
var SaveWidget = function (selector, options) {
|
||||||
@ -217,9 +216,6 @@ define([
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Backwards compatibility.
|
|
||||||
IPython.SaveWidget = SaveWidget;
|
|
||||||
|
|
||||||
return {'SaveWidget': SaveWidget};
|
return {'SaveWidget': SaveWidget};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user