Rename html to toHtml

This commit is contained in:
Aya Morisawa 2019-01-30 14:57:13 +09:00
parent 1e48af9693
commit 047d4c47fe
4 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
import { INote } from '../../../models/note';
import toHtml from '../../../mfm/html';
import toHtml from '../../../mfm/toHtml';
import parse from '../../../mfm/parse';
export default function(note: INote) {

View File

@ -2,7 +2,7 @@ import renderImage from './image';
import renderKey from './key';
import config from '../../../config';
import { ILocalUser } from '../../../models/user';
import toHtml from '../../../mfm/html';
import toHtml from '../../../mfm/toHtml';
import parse from '../../../mfm/parse';
import DriveFile from '../../../models/drive-file';
import { getEmojis } from './note';

View File

@ -11,7 +11,7 @@
import * as assert from 'assert';
import analyze from '../src/mfm/parse';
import toHtml from '../src/mfm/html';
import toHtml from '../src/mfm/toHtml';
import { createTree as tree, createLeaf as leaf, MfmTree } from '../src/mfm/types';
import { removeOrphanedBrackets } from '../src/mfm/parser';