5 lines
77 B
JavaScript
5 lines
77 B
JavaScript
|
function map(doc) {
|
||
|
if (doc.type) {
|
||
|
emit(doc.type, null);
|
||
|
}
|
||
|
}
|