Refactoring
This commit is contained in:
parent
8b3cb850a5
commit
9201b5318b
6 changed files with 19 additions and 19 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
@ -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
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue