Commit 684863da authored by Robert Knight's avatar Robert Knight

Convert src/annotator/index to an ES module

parent d78c29cd
const $ = require('jquery'); import $ from 'jquery';
// Load polyfill for :focus-visible pseudo-class. // Load polyfill for :focus-visible pseudo-class.
require('focus-visible'); import 'focus-visible';
const configFrom = require('./config/index'); import configFrom from './config/index';
const Guest = require('./guest'); import Guest from './guest';
const Sidebar = require('./sidebar'); import PdfSidebar from './pdf-sidebar';
const PdfSidebar = require('./pdf-sidebar'); import Sidebar from './sidebar';
const pluginClasses = { const pluginClasses = {
// UI plugins // UI plugins
......
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