Abolish common and misc directories

This commit is contained in:
Akihiko Odaki
2018-04-02 12:58:53 +09:00
parent a0f8b4e940
commit 5b9f3701f5
111 changed files with 133 additions and 133 deletions

View File

@@ -1,6 +1,6 @@
import $ from 'cafy';
import OthelloGame, { pack } from '../../../../../models/othello-game';
import Othello from '../../../../../misc/othello/core';
import Othello from '../../../../../othello/core';
module.exports = (params, user) => new Promise(async (res, rej) => {
// Get 'gameId' parameter

View File

@@ -2,8 +2,8 @@ import $ from 'cafy';
import Matching, { pack as packMatching } from '../../../../models/othello-matching';
import OthelloGame, { pack as packGame } from '../../../../models/othello-game';
import User from '../../../../models/user';
import publishUserStream, { publishOthelloStream } from '../../../../common/event';
import { eighteight } from '../../../../misc/othello/maps';
import publishUserStream, { publishOthelloStream } from '../../../../event';
import { eighteight } from '../../../../othello/maps';
module.exports = (params, user) => new Promise(async (res, rej) => {
// Get 'userId' parameter