[Client:Desktop] Fix bug

This commit is contained in:
syuilo 2017-03-19 20:50:25 +09:00
parent af88d2c47e
commit 9b6f5302ec

View file

@ -339,13 +339,11 @@
</style> </style>
<script> <script>
this.mixin('api');
import compile from '../../common/scripts/text-compiler'; import compile from '../../common/scripts/text-compiler';
import dateStringify from '../../common/scripts/date-stringify';
this.mixin('api');
this.mixin('user-preview'); this.mixin('user-preview');
this.dateStringify = require('../../common/scripts/date-stringify');
this.mixin('NotImplementedException');
this.fetching = true; this.fetching = true;
this.contextFetching = false; this.contextFetching = false;
@ -363,7 +361,7 @@
post: post, post: post,
isRepost: isRepost, isRepost: isRepost,
p: p, p: p,
title: this.dateStringify(p.created_at) title: dateStringify(p.created_at)
}); });
this.trigger('loaded'); this.trigger('loaded');