Refactoring

This commit is contained in:
syuilo
2018-07-09 21:15:49 +09:00
parent 8b3cb850a5
commit 9201b5318b
6 changed files with 19 additions and 19 deletions

View File

@ -1,9 +1,9 @@
import Stream from './stream';
import MiOS from '../../../mios';
import Stream from '../stream';
import MiOS from '../../../../mios';
export class ReversiGameStream extends Stream {
constructor(os: MiOS, me, game) {
super(os, 'reversi-game', {
super(os, 'games/reversi-game', {
i: me ? me.token : null,
game: game.id
});

View File

@ -1,10 +1,10 @@
import StreamManager from './stream-manager';
import Stream from './stream';
import MiOS from '../../../mios';
import StreamManager from '../stream-manager';
import Stream from '../stream';
import MiOS from '../../../../mios';
export class ReversiStream extends Stream {
constructor(os: MiOS, me) {
super(os, 'reversi', {
super(os, 'games/reversi', {
i: me.token
});
}

View File

@ -11,7 +11,7 @@ import { DriveStreamManager } from './common/scripts/streaming/drive';
import { ServerStatsStreamManager } from './common/scripts/streaming/server-stats';
import { NotesStatsStreamManager } from './common/scripts/streaming/notes-stats';
import { MessagingIndexStreamManager } from './common/scripts/streaming/messaging-index';
import { ReversiStreamManager } from './common/scripts/streaming/reversi';
import { ReversiStreamManager } from './common/scripts/streaming/games/reversi';
import Err from './common/views/components/connect-failed.vue';
import { LocalTimelineStreamManager } from './common/scripts/streaming/local-timeline';