This commit is contained in:
syuilo
2017-10-07 06:58:50 +09:00
parent 1d4f9378ca
commit fe98dd927d
15 changed files with 28 additions and 15 deletions

View File

@ -11,7 +11,7 @@ import * as riot from 'riot';
import init from '../init';
import route from './router';
import fuckAdBlock from './scripts/fuck-ad-block';
import getPostSummary from '../../../common/get-post-summary';
import getPostSummary from '../../../common/get-post-summary.ts';
/**
* init

View File

@ -207,7 +207,7 @@
</style>
<script>
import getPostSummary from '../../../../common/get-post-summary';
import getPostSummary from '../../../../common/get-post-summary.ts';
this.getPostSummary = getPostSummary;
this.mixin('i');

View File

@ -8,7 +8,7 @@
</style>
<script>
import Progress from '../../../common/scripts/loading';
import getPostSummary from '../../../../../common/get-post-summary';
import getPostSummary from '../../../../../common/get-post-summary.ts';
this.mixin('i');
this.mixin('api');

View File

@ -110,7 +110,7 @@
</style>
<script>
import getPostSummary from '../../../../common/get-post-summary';
import getPostSummary from '../../../../common/get-post-summary.ts';
this.getPostSummary = getPostSummary;
this.notification = this.opts.notification;
</script>

View File

@ -163,7 +163,7 @@
</style>
<script>
import getPostSummary from '../../../../common/get-post-summary';
import getPostSummary from '../../../../common/get-post-summary.ts';
this.getPostSummary = getPostSummary;
this.notification = this.opts.notification;
</script>

View File

@ -78,7 +78,7 @@
</style>
<script>
import getPostSummary from '../../../../common/get-post-summary';
import getPostSummary from '../../../../common/get-post-summary.ts';
this.getPostSummary = getPostSummary;
this.mixin('api');

View File

@ -9,7 +9,7 @@
<script>
import ui from '../../scripts/ui-event';
import Progress from '../../../common/scripts/loading';
import getPostSummary from '../../../../../common/get-post-summary';
import getPostSummary from '../../../../../common/get-post-summary.ts';
import openPostForm from '../../scripts/open-post-form';
this.mixin('i');

View File

@ -264,7 +264,7 @@
</style>
<script>
import compile from '../../common/scripts/text-compiler';
import getPostSummary from '../../../../common/get-post-summary';
import getPostSummary from '../../../../common/get-post-summary.ts';
import openPostForm from '../scripts/open-post-form';
this.mixin('api');

View File

@ -464,7 +464,7 @@
</style>
<script>
import compile from '../../common/scripts/text-compiler';
import getPostSummary from '../../../../common/get-post-summary';
import getPostSummary from '../../../../common/get-post-summary.ts';
import openPostForm from '../scripts/open-post-form';
this.mixin('api');

View File

@ -428,7 +428,7 @@
</style>
<script>
import summary from '../../../../common/get-post-summary';
import summary from '../../../../common/get-post-summary.ts';
this.post = this.opts.post;
this.text = summary(this.post);