Show More
@@ -19,8 +19,6 b' define([' | |||
|
19 | 19 | this.request_kernelspecs(); |
|
20 | 20 | } |
|
21 | 21 | this.bind_events(); |
|
22 | // For now, this is how we make this object available elsewhere | |
|
23 | IPython.kernelselector = this; | |
|
24 | 22 | }; |
|
25 | 23 | |
|
26 | 24 | KernelSelector.prototype.request_kernelspecs = function() { |
@@ -2276,12 +2276,6 b' define([' | |||
|
2276 | 2276 | var kernelspec = this.metadata.kernelspec || {}; |
|
2277 | 2277 | var kernel_name = kernelspec.name || this.default_kernel_name; |
|
2278 | 2278 | |
|
2279 | // If we don't already know about this kernel spec, store its info | |
|
2280 | var kernelspecs = IPython.kernelselector.kernelspecs; | |
|
2281 | if (kernelspec !== {} && !(kernel_name in kernelspecs)) { | |
|
2282 | kernelspecs[kernel_name] = kernelspec; | |
|
2283 | } | |
|
2284 | ||
|
2285 | 2279 | this.start_session(kernel_name); |
|
2286 | 2280 | } |
|
2287 | 2281 | // load our checkpoint list |
General Comments 0
You need to be logged in to leave comments.
Login now