diff --git a/IPython/html/static/notebook/js/main.js b/IPython/html/static/notebook/js/main.js index 02e7468..41870ba 100644 --- a/IPython/html/static/notebook/js/main.js +++ b/IPython/html/static/notebook/js/main.js @@ -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; diff --git a/IPython/html/templates/page.html b/IPython/html/templates/page.html index 93ba4b5..f024bb5 100644 --- a/IPython/html/templates/page.html +++ b/IPython/html/templates/page.html @@ -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: {