Skip to content

Commit

Permalink
Drop unused async keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
martinRenou committed Jul 17, 2024
1 parent e91acea commit c13f269
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/voila/src/manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class WidgetManager extends JupyterLabManager {
this.register({
name: '@jupyter-widgets/base',
version: '2.0.0',
exports: async () => {
exports: () => {
const baseWidgets = require('@jupyter-widgets/base') as any;
windowDefine('@jupyter-widgets/base', baseWidgets);
return baseWidgets;
Expand All @@ -200,7 +200,7 @@ export class WidgetManager extends JupyterLabManager {
this.register({
name: '@jupyter-widgets/controls',
version: '2.0.0',
exports: async () => {
exports: () => {
const controlsWidgets = require('@jupyter-widgets/controls') as any;
windowDefine('@jupyter-widgets/controls', controlsWidgets);
require('@jupyter-widgets/controls/css/widgets-base.css');
Expand All @@ -218,7 +218,7 @@ export class WidgetManager extends JupyterLabManager {
this.register({
name: '@jupyter-widgets/base',
version: '1.2.0',
exports: async () => {
exports: () => {
const base7Widgets = require('@jupyter-widgets/base7') as any;
windowDefine('@jupyter-widgets/base', base7Widgets);
return base7Widgets;
Expand All @@ -227,7 +227,7 @@ export class WidgetManager extends JupyterLabManager {
this.register({
name: '@jupyter-widgets/controls',
version: '1.5.0',
exports: async () => {
exports: () => {
const controls7Widget = require('@jupyter-widgets/controls7') as any;
windowDefine('@jupyter-widgets/controls', controls7Widget);
require('@jupyter-widgets/controls7/css/widgets-base.css');
Expand Down

0 comments on commit c13f269

Please sign in to comment.