Avoid export default

This commit is contained in:
Aya Morisawa 2019-01-30 16:56:27 +09:00
parent 1c60a49c96
commit 28bfb45426
No known key found for this signature in database
GPG key ID: 3E64865D70D579F2
18 changed files with 26 additions and 28 deletions

View file

@ -28,7 +28,7 @@ const newline = P((input, i) => {
}
});
const mfm = P.createLanguage({
export const mfmLanguage = P.createLanguage({
root: r => P.alt(
r.big,
r.small,
@ -413,5 +413,3 @@ const mfm = P.createLanguage({
.map(x => createLeaf('url', { url: x })),
//#endregion
});
export default mfm;