Skip to content

Commit

Permalink
Merge pull request #222 from bollwyvl/lazy-load-lab3
Browse files Browse the repository at this point in the history
restore lazy load behavior
  • Loading branch information
ianhi authored Jan 5, 2021
2 parents 4550fbc + f4a8400 commit fbbf3f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { Widget } from '@phosphor/widgets';

import { IJupyterWidgetRegistry } from '@jupyter-widgets/base';

import * as widgetExports from './widget';

import { MODULE_NAME, MODULE_VERSION } from './version';

const EXTENSION_ID = 'jupyter-cytoscape:plugin';
Expand All @@ -38,6 +36,6 @@ function activateWidgetExtension(
registry.registerWidget({
name: MODULE_NAME,
version: MODULE_VERSION,
exports: widgetExports,
exports: () => import('./index'),
});
}

0 comments on commit fbbf3f7

Please sign in to comment.