Use Vue rendering function

and some refactors
This commit is contained in:
syuilo
2018-03-31 21:41:08 +09:00
parent eafb0f61ef
commit 3178bb20c7
14 changed files with 322 additions and 211 deletions

View File

@@ -14,7 +14,7 @@ const elements = [
require('./elements/emoji')
];
export default (source: string) => {
export default (source: string): any[] => {
if (source == '') {
return null;