Rename html to toHtml

This commit is contained in:
Aya Morisawa 2019-01-30 14:57:13 +09:00
parent 4c9b66b0f0
commit 3058e8f354
No known key found for this signature in database
GPG Key ID: 3E64865D70D579F2
4 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -11,7 +11,7 @@
import * as assert from 'assert'; import * as assert from 'assert';
import analyze from '../src/mfm/parse'; 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 { createTree as tree, createLeaf as leaf, MfmTree } from '../src/mfm/types';
import { removeOrphanedBrackets } from '../src/mfm/parser'; import { removeOrphanedBrackets } from '../src/mfm/parser';