Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-04-25 14:55:26 +02:00
parent 237711f9e6
commit dab8052b76
4 changed files with 13 additions and 13 deletions

View file

@ -76,7 +76,7 @@ class Viewer {
this.gallery = gallery;
gallery.listen('beforeChange', function() {
gallery.listen("beforeChange", function() {
Event.publish("viewer.change", {gallery: gallery, item: gallery.currItem});
});

View file

@ -14,8 +14,8 @@ var QualityBlacklist = map[string]bool{
}
var (
year2008 = time.Date(2008, 1,1,0,0,0,0, time.UTC)
year2012 = time.Date(2012, 1,1,0,0,0,0, time.UTC)
year2008 = time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC)
year2012 = time.Date(2012, 1, 1, 0, 0, 0, 0, time.UTC)
)
// QualityScore returns a score based on photo properties like size and metadata.