Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Sometimes after a long day the simplest of bugs is very difficult. Took me 10 minutes to figure out why my method to assign colours to users wasn't working.
addEvent({
name: userColour(something.name),
date: something.startDate,
color: 'yellow'
});
undefined