davidmerfield/randomColor — pull request #20 by DanielRosenwasser (2014-07-10 03:27:34+00:00)
Title: Properly check `count` so that a list is returned for appropriate falsey values.

Currently if you do something like the following

var colors = randomColor({count: 0});

You get a single color instead of an empty list.

Wasn't sure what you wanted the behavior to be for booleans and strings, but I believe `false`, `"0"`, and any non-numeric string now return empty lists as well.