2
0
mirror of https://github.com/thumbsup/thumbsup synced 2024-11-03 15:40:14 +00:00

Rename album sorting function for clarity (they don't take a raw File, but a Media object)

This commit is contained in:
Romain 2017-03-09 23:22:12 +11:00
parent fb77791c80
commit 9c78c1cd79

View File

@ -13,8 +13,8 @@ var SORT_ALBUMS_BY = {
}
var SORT_MEDIA_BY = {
'filename': function (file) { return file.filename },
'date': function (file) { return file.date }
'filename': function (media) { return media.filename },
'date': function (media) { return media.date }
}
var PREVIEW_MISSING = {