Skip to content

Commit

Permalink
add factory method
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejpurves committed Jul 14, 2024
1 parent d5c0916 commit d99e79d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/core/src/passiveManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ import { RequireJsLoader } from './requireJsLoader';
import { requireLoader } from './loader';
import { WIDGET_VIEW_MIMETYPE } from './manager';

export function makeThebePassiveManager(
rendermime: IRenderMimeRegistry,
widgetState?: IManagerState,
) {
return new ThebePassiveManager(rendermime, widgetState);
}

/**
* A Widget Manager class for Thebe using the context-free KernelWidgetManager from
* the JupyterLab Manager and inspierd by the implementation in Voila here:
Expand Down

0 comments on commit d99e79d

Please sign in to comment.