remove plugin import

This commit is contained in:
Felix Wu 2018-08-21 11:06:37 +02:00
parent d443be2a47
commit 7b623cc77f

View File

@ -1,13 +1,11 @@
/* eslint-disable */
import abcjs from 'abcjs';
import markdownItNotesSheet from './libs/markdownItNotesSheet';
import extensionSvc from '../services/extensionSvc';
const render = (elt) => {
const abcContent = elt.textContent;
elt.parentNode.parentNode.id = 'abcSheetPaper';
abcjs.renderAbc('abcSheetPaper', abcContent, {});
}
};
extensionSvc.onGetOptions((options, properties) => {
options.abc = properties.extensions.abc.enabled;