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