mirror of
https://github.com/thumbsup/thumbsup
synced 2024-11-05 12:01:04 +00:00
Rename album sorting function for clarity (they don't take a raw File, but a Media object)
This commit is contained in:
parent
fb77791c80
commit
9c78c1cd79
@ -13,8 +13,8 @@ var SORT_ALBUMS_BY = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var SORT_MEDIA_BY = {
|
var SORT_MEDIA_BY = {
|
||||||
'filename': function (file) { return file.filename },
|
'filename': function (media) { return media.filename },
|
||||||
'date': function (file) { return file.date }
|
'date': function (media) { return media.date }
|
||||||
}
|
}
|
||||||
|
|
||||||
var PREVIEW_MISSING = {
|
var PREVIEW_MISSING = {
|
||||||
|
Loading…
Reference in New Issue
Block a user