2
0
mirror of https://github.com/jupyter/notebook.git synced 2025-03-13 13:17:50 +08:00

Add require to list of modules to try fixing kernel.js loading.

This would likely fix some failures ithat happend with `kernel.js` with
the following on the js console:

> Uncaught (in promise) TypeError: require is not a function

At

> KernelSelector._spec_changed
This commit is contained in:
Matthias Bussonnier 2016-01-27 11:58:29 -08:00
parent 22a6e72c0c
commit e76027af9e

@ -6,7 +6,8 @@ define([
'base/js/namespace',
'base/js/dialog',
'base/js/utils',
], function($, IPython, dialog, utils) {
'require',
], function($, IPython, dialog, utils, require) {
"use strict";
var KernelSelector = function(selector, notebook) {