Commit 37d784ce authored by Eduardo Sanz García's avatar Eduardo Sanz García Committed by Eduardo

Sidebar: convert to named export

parent 900e759a
...@@ -12,8 +12,8 @@ registerIcons(iconSet); ...@@ -12,8 +12,8 @@ registerIcons(iconSet);
import { PortProvider } from '../shared/messaging'; import { PortProvider } from '../shared/messaging';
import { getConfig } from './config/index'; import { getConfig } from './config/index';
import { Guest } from './guest'; import { Guest } from './guest';
import Notebook from './notebook'; import { Notebook } from './notebook';
import Sidebar from './sidebar'; import { Sidebar } from './sidebar';
import { EventBus } from './util/emitter'; import { EventBus } from './util/emitter';
// Look up the URL of the sidebar. This element is added to the page by the // Look up the URL of the sidebar. This element is added to the page by the
......
...@@ -56,7 +56,7 @@ function createSidebarIframe(config) { ...@@ -56,7 +56,7 @@ function createSidebarIframe(config) {
* *
* @implements {Destroyable} * @implements {Destroyable}
*/ */
export default class Sidebar { export class Sidebar {
/** /**
* @param {HTMLElement} element * @param {HTMLElement} element
* @param {import('./util/emitter').EventBus} eventBus - * @param {import('./util/emitter').EventBus} eventBus -
......
import { addConfigFragment } from '../../shared/config-fragment'; import { addConfigFragment } from '../../shared/config-fragment';
import Sidebar, { MIN_RESIZE, $imports } from '../sidebar'; import { Sidebar, MIN_RESIZE, $imports } from '../sidebar';
import { EventBus } from '../util/emitter'; import { EventBus } from '../util/emitter';
const DEFAULT_WIDTH = 350; const DEFAULT_WIDTH = 350;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment