Mercurial > hg > Feedworm
annotate backend/couchdb/CouchApp/feedworm/views/feeds/map.js @ 222:fe6a2dad6e29
ignore hg reverted files
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 22 May 2014 05:11:35 +0200 |
parents | a5bda54309ba |
children |
rev | line source |
---|---|
165
a5bda54309ba
add a couchapp for easy/automated setup
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 function(doc) |
a5bda54309ba
add a couchapp for easy/automated setup
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 { |
a5bda54309ba
add a couchapp for easy/automated setup
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 if (doc.doctype == "feed") |
a5bda54309ba
add a couchapp for easy/automated setup
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 { |
a5bda54309ba
add a couchapp for easy/automated setup
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 emit(doc._id, doc) |
a5bda54309ba
add a couchapp for easy/automated setup
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 } |
a5bda54309ba
add a couchapp for easy/automated setup
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 } |