move user view to ui/round
This commit is contained in:
parent
71edcd28c8
commit
2cffa1a472
|
@ -9,7 +9,7 @@ var socket = require('../socket');
|
|||
var clockView = require('../clock/view');
|
||||
var renderCorrespondenceClock = require('../correspondenceClock/view');
|
||||
var renderReplay = require('./replay');
|
||||
var renderUser = require('game').view.user;
|
||||
var renderUser = require('./user');
|
||||
var button = require('./button');
|
||||
var m = require('mithril');
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var m = require('mithril');
|
||||
var game = require('../game');
|
||||
var game = require('game').game;
|
||||
|
||||
function ratingDiff(player) {
|
||||
if (typeof player.ratingDiff === 'undefined') return null;
|
Loading…
Reference in a new issue