dscape/nano — pull request #59 by cliffano (2012-03-22 04:37:56+00:00)
Title: Allow function value (handy for design documents)

Design documents usually contain lengthy functions which are represented as a function and not as a multi-line string.
Prior to this patch, nano strips out all properties having function as value at this line in nano,js:
req.body = JSON.stringify(opts.body);

It would be handy if nano allows function values and convert them to strings before sending the documents over to Couch.