File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
// Removed Widget import as we're no longer using @lumino/widgets
2
- // import { JupyterLiteServer, JupyterLiteServerPlugin } from '@jupyterlite/server';
3
- import { JupyterFrontEnd , JupyterFrontEndPlugin } from '@jupyterlab/application' ;
2
+ import { JupyterLiteServer , JupyterLiteServerPlugin } from '@jupyterlite/server' ;
4
3
import { IKernel , IKernelSpecs } from '@jupyterlite/kernel' ;
5
4
import { EmbeddedKernel } from './kernel' ;
6
5
import WelcomePanel from './panel' ;
@@ -11,11 +10,11 @@ import { DeviceService } from './services/DeviceService';
11
10
var devService : DeviceService | null = null ;
12
11
13
12
// Kernel plugin for the embedded kernel
14
- const kernelPlugin : JupyterFrontEndPlugin < void > = {
13
+ const kernelPlugin : JupyterLiteServerPlugin < void > = {
15
14
id : 'jupyterlite-embedded-kernel:kernel' ,
16
15
autoStart : true ,
17
16
requires : [ IKernelSpecs ] ,
18
- activate : ( app : JupyterFrontEnd , kernelspecs : IKernelSpecs ) => {
17
+ activate : ( app : JupyterLiteServer , kernelspecs : IKernelSpecs ) => {
19
18
const activeKernels = new Map < string , EmbeddedKernel > ( ) ;
20
19
21
20
// print the app to console
You can’t perform that action at this time.
0 commit comments