@@ -34,7 +34,7 @@ import { WidgetManager as VoilaWidgetManager } from './manager';
3434/**
3535 * The default paths.
3636 */
37- export const pathsPlugin : JupyterFrontEndPlugin < JupyterFrontEnd . IPaths > = {
37+ const paths : JupyterFrontEndPlugin < JupyterFrontEnd . IPaths > = {
3838 id : '@voila-dashboards/voila:paths' ,
3939 activate : (
4040 app : JupyterFrontEnd < JupyterFrontEnd . IShell >
@@ -51,7 +51,7 @@ export const pathsPlugin: JupyterFrontEndPlugin<JupyterFrontEnd.IPaths> = {
5151 * TODO: a cleaner solution would involve a custom ServiceManager to the VoilaApp
5252 * to prevent the default behavior of polling the /api endpoints.
5353 */
54- export const stopPollingPlugin : JupyterFrontEndPlugin < void > = {
54+ const stopPolling : JupyterFrontEndPlugin < void > = {
5555 id : '@voila-dashboards/voila:stop-polling' ,
5656 autoStart : true ,
5757 activate : ( app : JupyterFrontEnd ) : void => {
@@ -69,7 +69,7 @@ export const stopPollingPlugin: JupyterFrontEndPlugin<void> = {
6969/**
7070 * A simplified Translator
7171 */
72- export const translatorPlugin : JupyterFrontEndPlugin < ITranslator > = {
72+ const translator : JupyterFrontEndPlugin < ITranslator > = {
7373 id : '@voila-dashboards/voila:translator' ,
7474 activate : ( app : JupyterFrontEnd < JupyterFrontEnd . IShell > ) : ITranslator => {
7575 const translationManager = new TranslationManager ( ) ;
@@ -82,7 +82,7 @@ export const translatorPlugin: JupyterFrontEndPlugin<ITranslator> = {
8282/**
8383 * The Voila widgets manager plugin.
8484 */
85- export const widgetManager : JupyterFrontEndPlugin < IJupyterWidgetRegistry > = {
85+ const widgetManager : JupyterFrontEndPlugin < IJupyterWidgetRegistry > = {
8686 id : '@voila-dashboards/voila:widget-manager' ,
8787 autoStart : true ,
8888 requires : [ IRenderMimeRegistry ] ,
@@ -135,9 +135,9 @@ export const widgetManager: JupyterFrontEndPlugin<IJupyterWidgetRegistry> = {
135135 * Export the plugins as default.
136136 */
137137const plugins : JupyterFrontEndPlugin < any > [ ] = [
138- pathsPlugin ,
139- stopPollingPlugin ,
140- translatorPlugin ,
138+ paths ,
139+ stopPolling ,
140+ translator ,
141141 widgetManager
142142] ;
143143
0 commit comments