Skip to content
Snippets Groups Projects
Commit 008a234b authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

replace js loop on object by "traditional" js loop with an increment 
parent dd9a0abe
Branches
Tags
No related merge requests found
function(doc) {
var taxo = doc.replicon.taxonomy;
for( var i=0; i<taxo.length; i++ ){
emit(taxo[i], doc._id);
}
}
function(doc) {
for( i in doc.replicon.taxonomy ){
emit(doc.replicon.taxonomy[i], doc._id);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment