Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gem
capsuledb
Commits
008a234b
Commit
008a234b
authored
Feb 20, 2012
by
Bertrand NÉRON
Browse files
replace js loop on object by "traditional" js loop with an increment
parent
dd9a0abe
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/couchapp/secreton/views/by_replicon_taxonomy/map.js
0 → 100644
View file @
008a234b
function
(
doc
)
{
var
taxo
=
doc
.
replicon
.
taxonomy
;
for
(
var
i
=
0
;
i
<
taxo
.
length
;
i
++
){
emit
(
taxo
[
i
],
doc
.
_id
);
}
}
src/couchapp/secreton/views/by_replicon_taxonomy/views.js
deleted
100644 → 0
View file @
dd9a0abe
function
(
doc
)
{
for
(
i
in
doc
.
replicon
.
taxonomy
){
emit
(
doc
.
replicon
.
taxonomy
[
i
],
doc
.
_id
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment