Show More
@@ -2,6 +2,7 b'' | |||||
2 | // Distributed under the terms of the Modified BSD License. |
|
2 | // Distributed under the terms of the Modified BSD License. | |
3 |
|
3 | |||
4 | require([ |
|
4 | require([ | |
|
5 | 'es6promise', | |||
5 | 'base/js/namespace', |
|
6 | 'base/js/namespace', | |
6 | 'jquery', |
|
7 | 'jquery', | |
7 | 'notebook/js/notebook', |
|
8 | 'notebook/js/notebook', | |
@@ -25,6 +26,7 b' require([' | |||||
25 | // only loaded, not used, please keep sure this is loaded last |
|
26 | // only loaded, not used, please keep sure this is loaded last | |
26 | 'custom/custom' |
|
27 | 'custom/custom' | |
27 | ], function( |
|
28 | ], function( | |
|
29 | es6promise, | |||
28 | IPython, |
|
30 | IPython, | |
29 | $, |
|
31 | $, | |
30 | notebook, |
|
32 | notebook, | |
@@ -49,7 +51,6 b' require([' | |||||
49 | custom |
|
51 | custom | |
50 | ) { |
|
52 | ) { | |
51 | "use strict"; |
|
53 | "use strict"; | |
52 | console.log(promise); |
|
|||
53 |
|
54 | |||
54 | // compat with old IPython, remove for IPython > 3.0 |
|
55 | // compat with old IPython, remove for IPython > 3.0 | |
55 | window.CodeMirror = CodeMirror; |
|
56 | window.CodeMirror = CodeMirror; |
@@ -27,9 +27,9 b'' | |||||
27 | bootstrap: 'components/bootstrap/js/bootstrap.min', |
|
27 | bootstrap: 'components/bootstrap/js/bootstrap.min', | |
28 | bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min', |
|
28 | bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min', | |
29 | jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min', |
|
29 | jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min', | |
30 |
moment: |
|
30 | moment: 'components/moment/moment', | |
31 | codemirror: 'components/codemirror', |
|
31 | codemirror: 'components/codemirror', | |
32 |
termjs: |
|
32 | termjs: 'components/term.js/src/term', | |
33 | contents: '{{ contents_js_source }}', |
|
33 | contents: '{{ contents_js_source }}', | |
34 | }, |
|
34 | }, | |
35 | shim: { |
|
35 | shim: { |
General Comments 0
You need to be logged in to leave comments.
Login now