Use es6-promise polyfill

Jonathan Frederic 11 years ago committed by Jonathan Frederic
parent bed3a4cfda
commit b76d4d5c05

@ -2,6 +2,7 @@
// Distributed under the terms of the Modified BSD License.
require([
'es6promise',
'base/js/namespace',
'jquery',
'notebook/js/notebook',
@ -25,6 +26,7 @@ require([
// only loaded, not used, please keep sure this is loaded last
'custom/custom'
], function(
es6promise,
IPython,
$,
notebook,
@ -49,7 +51,6 @@ require([
custom
) {
"use strict";
console.log(promise);
// compat with old IPython, remove for IPython > 3.0
window.CodeMirror = CodeMirror;

@ -27,9 +27,9 @@
bootstrap: 'components/bootstrap/js/bootstrap.min',
bootstraptour: 'components/bootstrap-tour/build/js/bootstrap-tour.min',
jqueryui: 'components/jquery-ui/ui/minified/jquery-ui.min',
moment: "components/moment/moment",
moment: 'components/moment/moment',
codemirror: 'components/codemirror',
termjs: "components/term.js/src/term",
termjs: 'components/term.js/src/term',
contents: '{{ contents_js_source }}',
},
shim: {

Loading…
Cancel
Save