Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added screenshot:colors set

  • Loading branch information...
commit d476887c529b543ebb166fdeb134b936f9be5c3f 1 parent f13138f
TJ Holowaychuk authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  routes/palette.js
1  routes/palette.js
@@ -17,6 +17,7 @@ app.on('screenshot', function(url, path, id){
17 17 console.log('palette - colors computed');
18 18
19 19 colors.forEach(function(color){
  20 + db.sadd('screenshot:colors', color);
20 21 db.sadd('screenshot:color:' + color, id);
21 22 db.sadd('screenshot:' + id + ':colors', color);
22 23 });

0 comments on commit d476887

Please sign in to comment.
Something went wrong with that request. Please try again.