Abolish common and misc directories
This commit is contained in:
parent
a0f8b4e940
commit
5b9f3701f5
111 changed files with 133 additions and 133 deletions
|
|
@ -2,9 +2,9 @@ import * as websocket from 'websocket';
|
|||
import * as redis from 'redis';
|
||||
import * as CRC32 from 'crc-32';
|
||||
import OthelloGame, { pack } from '../../../models/othello-game';
|
||||
import { publishOthelloGameStream } from '../../../common/event';
|
||||
import Othello from '../../../misc/othello/core';
|
||||
import * as maps from '../../../misc/othello/maps';
|
||||
import { publishOthelloGameStream } from '../../../event';
|
||||
import Othello from '../../../othello/core';
|
||||
import * as maps from '../../../othello/maps';
|
||||
import { ParsedUrlQuery } from 'querystring';
|
||||
|
||||
export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user?: any): void {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import * as mongo from 'mongodb';
|
|||
import * as websocket from 'websocket';
|
||||
import * as redis from 'redis';
|
||||
import Matching, { pack } from '../../../models/othello-matching';
|
||||
import publishUserStream from '../../../common/event';
|
||||
import publishUserStream from '../../../event';
|
||||
|
||||
export default function(request: websocket.request, connection: websocket.connection, subscriber: redis.RedisClient, user: any): void {
|
||||
// Subscribe othello stream
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue