Refactor
This commit is contained in:
parent
e8bde94e5b
commit
cd2542e0fd
99 changed files with 111 additions and 111 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import $ from 'cafy';
|
||||
import OthelloGame, { pack } from '../../../../../models/othello-game';
|
||||
import Othello from '../../../../../common/othello/core';
|
||||
import Othello from '../../../../../misc/othello/core';
|
||||
|
||||
module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
// Get 'gameId' parameter
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import Matching, { pack as packMatching } from '../../../../models/othello-match
|
|||
import OthelloGame, { pack as packGame } from '../../../../models/othello-game';
|
||||
import User from '../../../../models/user';
|
||||
import publishUserStream, { publishOthelloStream } from '../../../../common/event';
|
||||
import { eighteight } from '../../../../common/othello/maps';
|
||||
import { eighteight } from '../../../../misc/othello/maps';
|
||||
|
||||
module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
// Get 'userId' parameter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue