documentcloud/underscore — pull request #879 by spadgos (2012-12-01 14:25:23+00:00)
Title: Use identity instead of creating a new function

The `compact` function uses a function which casts each member to a Boolean, however this isn't needed since `filter` just checks for truthiness, not `=== true`.

This change reuses the `_.identity` function, which has the same effect and doesn't require creating a new function on each call.