Advertisement
Guest User

Untitled

a guest
May 27th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. /**
  2. var image = images.memeloperCompilingImage;
  3. for(var day = 0; day < days.length; day++) {
  4. if(day === 5 && !isMemeloperTodayPublushed(image)) {
  5. // Public this memeloper every friday.
  6. memeloperTopics.push(image);
  7. }
  8. }
  9. **/
  10.  
  11. ## Versus
  12.  
  13. images.find(isCompiling)
  14. .filter(img -> isFriday! && !wasPublished(img))
  15. .map(publish)
  16.  
  17. isCompiling = (img) -> # code goes here
  18. isFriday = -> # code goes here
  19. wasPublished = (img) -> # code goes here
  20. publish = (img) -> # code goes here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement