techfort/LokiJS — pull request #33 by goatslacker (2014-11-22 20:10:21+00:00)
Title: Returns empty array on empty collection

If the collection is empty there's no sense in continuing, this adds a short circuit to return an empty array if there are no items in the collection.

Fixes broken test from #32