lyticsio/quickstart — pull request #4 by slindberg (2012-09-26 00:29:59+00:00)
Title: Fixed grouping bug when multiple dimensions are created.

The `group2()` function references the crossfilter dimension when it
calls `group()`, but the variable is not defined locally and so gets set
globally to the last created dimension. Changing `group2()` to be a
closure in `dimension2` so that it has a reference to the dimension
fixes this issue.