Permalink
Browse files

added screenshot:colors set

  • Loading branch information...
1 parent f13138f commit d476887c529b543ebb166fdeb134b936f9be5c3f @tj tj committed Dec 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 routes/palette.js
View
@@ -17,6 +17,7 @@ app.on('screenshot', function(url, path, id){
console.log('palette - colors computed');
colors.forEach(function(color){
+ db.sadd('screenshot:colors', color);
db.sadd('screenshot:color:' + color, id);
db.sadd('screenshot:' + id + ':colors', color);
});

0 comments on commit d476887

Please sign in to comment.