visionmedia/mocha-cloud-grid-view — pull request #2 by jaredhanson (2012-12-22 02:22:15+00:00)
Title: Account for browser version when calculating max.

Fixes the following error:

```
RangeError: Invalid array length
at GridView.draw (/Users/jaredhanson/Projects/node/mocha-cloud-grid-view/index.js:200:15)
```

caused due to `max` being *less than* `label.length`, since the label includes the version string. For instance:

max: 8
label.length: 10

(which fails when attempting to create an array with a negative number of items)