evidenceprime/pouchdb.mapreduce.noeval — pull request #3 by nolanlawson (2014-06-08 02:09:24+00:00)
Title: Merge with map/reduce, fall back from eval to regex

All right, here's what I've done:

* merged your code with mapreduce master
* added the code to fall back to the regex parsing from eval
* added package.json, updated bower and everything to 0.2.0

So in theory you should be able to just merge this, and then `npm publish`, and then tag it as 0.2.0 so bower can pick that up, and then it's gravy.

Oh and BTW, the reason your original code is not necessary is because, when map/reduce runs temporary queries now, you can always pass in `function(doc, emit)` (with the second argument), which is another way to avoid closures. But with this regex method, you can also use persisted mapreduce, which is awesome! :)