square/crossfilter — pull request #20 by notmatt (2012-04-08 20:27:25+00:00)
Title: Undeclared variables.

Stumbled across an undeclared variable `t` in `quicksort.js` in actual use. It depends on the relative order of the quicksort pivot values - in particular, ordered values won't hit it (repro via node):

```javascript
var crossfilter = require('crossfilter');
var assert = require('assert');

var testdata = [];
for (var i=0; i<32; i++) { testdata[i] = { f : (i % 2 ? "foo" : "bar") } }
var cf = crossfilter(testdata);

var t = "TEE";
var dim = cf.dimension(function(d) { return d.f });
assert.equal(t, "TEE");
```

Linting (with [davepacheco/javascriptlint](https://github.com/davepacheco/javascriptlint)) to track this down also found a suspicously-absent declaration of `g` in `updateMany()`, not reproduced.