fixed away/home

This commit is contained in:
didier amyot committed 2019-05-16 09:34:57 -04:00
1 parent 6da40dfb6e
commit 39cde030dd
3 files changed
+8 -6

No files matched your search

+4 -4
View File
@@ -150,11 +150,11 @@ define(['m', '_', 'util', 'resultParser', 'teams', 'views/topNavBar', 'views/foo
return m('tr',[
m('td', schedulView._gameName(game)),
m('td', schedulView._getTeamTag(game.home)),
m('td', schedulView._asGamePoints(game.home_points)),
m('td', 'vs'),
m('td', schedulView._getTeamTag(game.away)),
m('td', schedulView._asGamePoints(game.away_points))
m('td', schedulView._asGamePoints(game.away_points)),
m('td', 'vs'),
m('td', schedulView._getTeamTag(game.home)),
m('td', schedulView._asGamePoints(game.home_points))
]);
};
+2 -2
View File
@@ -75,8 +75,8 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer', 'ar
util.formatDateSmall(game.jsDate),
game.rain)),
m('td', game.time),
m('td', game.away),
m('td', game.home)
m('td', game.home),
m('td', game.away)
]);
};