repo.or.cz
/
mygpo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
refs
|
edit
|
fork
8d3c453dd8aad7e772e17be1307d1b7e7a4cff4c
[mygpo.git]
/
couchdb
/
general
/
_design
/
sanitizing_rules
/
views
/
by_target
/
map.js
blob
8d3c453dd8aad7e772e17be1307d1b7e7a4cff4c
1
function(doc)
2
{
3
if(doc.doc_type == "SanitizingRule")
4
{
5
for(n in doc.applies_to)
6
{
7
emit([doc.applies_to[n], doc.priority], null);
8
}
9
}
10
}