~tim-alwaysreformed/reformedchurcheslocator/rcl-backbone-test_for_directory_type

« back to all changes in this revision

Viewing changes to vendor/couchapp/lib/list.js

  • Committer: Tim Black
  • Date: 2012-04-11 05:59:38 UTC
  • Revision ID: tim@alwaysreformed.com-20120411055938-ol24g07q32msyg2f
Re-include default couchapp login div, remove unnecessary templates, JavaScript files, and functions, install Evently

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
}
 
 
b'\\ No newline at end of file'