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);
import { PortProvider } from '../shared/messaging';
import { getConfig } from './config/index';
import { Guest } from './guest';
import Notebook from './notebook';
import Sidebar from './sidebar';
import { Notebook } from './notebook';
import { Sidebar } from './sidebar';
import { EventBus } from './util/emitter';
// Look up the URL of the sidebar. This element is added to the page by the
......
......@@ -56,7 +56,7 @@ function createSidebarIframe(config) {
*
* @implements {Destroyable}
*/
export default class Sidebar {
export class Sidebar {
/**
* @param {HTMLElement} element
* @param {import('./util/emitter').EventBus} eventBus -
......
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';
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