annotate backend/couchdb/CouchApp/feedworm/views/preference/map.js @ 239:a15b3ee791a1

Automated merge with https://xanthippe.duckdns.org/hg/Feedworm
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 25 Apr 2015 04:10:12 +0200
parents a5bda54309ba
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 == "preferences")
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 }