resize images for index page
This commit is contained in:
parent
554ffcccbc
commit
b6fd0b50ab
7 changed files with 635 additions and 26 deletions
|
|
@ -154,6 +154,10 @@ function getImageUrl(gameId) {
|
|||
return GAMES[gameId].puzzle.info.imageUrl
|
||||
}
|
||||
|
||||
function setImageUrl(gameId, imageUrl) {
|
||||
GAMES[gameId].puzzle.info.imageUrl = imageUrl
|
||||
}
|
||||
|
||||
function isFinished(gameId) {
|
||||
return getFinishedTileCount(gameId) === getTileCount(gameId)
|
||||
}
|
||||
|
|
@ -721,6 +725,7 @@ export default {
|
|||
getFinishedTileCount,
|
||||
getTileCount,
|
||||
getImageUrl,
|
||||
setImageUrl,
|
||||
get,
|
||||
getAllGames,
|
||||
getPlayerBgColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue