modernizing couchapp

This commit is contained in:
Chris Anderson 2009-01-01 22:45:41 -08:00
parent 293e9abad8
commit cc6039cbd4
4 changed files with 22 additions and 102 deletions

View file

@ -2,6 +2,7 @@
// and the list of keys it contains
function(doc) {
// include-lib
var k, keys = []
for (k in doc) keys.push(k);
emit(doc._id, keys);