Commit a20bd78 1 parent 2e47ca1 commit a20bd78 Copy full SHA for a20bd78
File tree 1 file changed +13
-15
lines changed
packages/collaboration-extension/src
1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -192,22 +192,20 @@ export const userEditorCursors: JupyterFrontEndPlugin<void> = {
192
192
}
193
193
} ;
194
194
195
- export const notebookCellExecutor : JupyterFrontEndPlugin < INotebookCellExecutor > = {
196
- id : '@jupyter/collaboration-extension:notebook-cell-executor' ,
197
- description :
198
- 'Add notebook cell executor that uses REST API instead of kernel protocol over WebSocket.' ,
199
- autoStart : true ,
200
- provides : INotebookCellExecutor ,
201
- activate : (
202
- app : JupyterFrontEnd
203
- ) : INotebookCellExecutor => {
204
- if ( PageConfig . getOption ( 'serverSideExecution' ) === 'true' ) {
205
- return Object . freeze ( { runCell : runCellServerSide } ) ;
195
+ export const notebookCellExecutor : JupyterFrontEndPlugin < INotebookCellExecutor > =
196
+ {
197
+ id : '@jupyter/collaboration-extension:notebook-cell-executor' ,
198
+ description :
199
+ 'Add notebook cell executor that uses REST API instead of kernel protocol over WebSocket.' ,
200
+ autoStart : true ,
201
+ provides : INotebookCellExecutor ,
202
+ activate : ( app : JupyterFrontEnd ) : INotebookCellExecutor => {
203
+ if ( PageConfig . getOption ( 'serverSideExecution' ) === 'true' ) {
204
+ return Object . freeze ( { runCell : runCellServerSide } ) ;
205
+ }
206
+ return Object . freeze ( { runCell } ) ;
206
207
}
207
- return Object . freeze ( { runCell } ) ;
208
- }
209
- } ;
210
-
208
+ } ;
211
209
212
210
async function runCellServerSide ( {
213
211
cell,
You can’t perform that action at this time.
0 commit comments