git://git.onelab.eu
/
myops.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add scripts to create myops-getqueryview:
[myops.git]
/
web
/
query
/
vendor
/
couchapp
/
lib
/
list.js
1
// Helpers for writing server-side _list functions in CouchDB
2
exports.withRows = function(fun) {
3
var f = function() {
4
var row = getRow();
5
return row && fun(row);
6
};
7
f.iterator = true;
8
return f;
9
}
10
11
exports.send = function(chunk) {
12
send(chunk + "\n")
13
}