Skip to content

Commit

Permalink
First list function uses doc but it seems like it should use head
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Jun 4, 2014
1 parent 828feb8 commit 4d884dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft/transforming.html
Expand Up @@ -35,7 +35,7 @@ <h2 id="transforming">Rendering Content Based-On Multiple Documents with List Fu
http://mysite/mydb/_design/myapp/_list/mylist/mydocs-by-user
</pre>
<pre>
function(doc, req) {
function(head, req) {
provides("html", function() {
html = "&lthtml&gt&ltbody&gt&ltol&gt\n";
while (row = getRow()) {
Expand Down

0 comments on commit 4d884dc

Please sign in to comment.