modernizing couchapp
This commit is contained in:
parent
293e9abad8
commit
cc6039cbd4
4 changed files with 22 additions and 102 deletions
3
lib/couchrest/helper/template-app/views/_lib/helper.js
Normal file
3
lib/couchrest/helper/template-app/views/_lib/helper.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
function aHelperFunction() {
|
||||
return "help";
|
||||
};
|
|
@ -2,6 +2,7 @@
|
|||
// and the list of keys it contains
|
||||
|
||||
function(doc) {
|
||||
// include-lib
|
||||
var k, keys = []
|
||||
for (k in doc) keys.push(k);
|
||||
emit(doc._id, keys);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue