caolan/couchr — pull request #12 by rranauro (2014-10-07 20:34:16+00:00)
Title: added stringify key, keys, etc. values for GET requests in the browser

Caolan,
I created a wrapper for couchrs' request method provided in couchr-browser.js and couchr-node.js. When creating a query hash for a view request in node.js I had no problem getting the result but the browser implementation of the same query returned a badly formatted query. I copied the code fragment on line 107-113 in couchr-node.js to couchr-browser.js and things worked well after that. I could do the transformation in my wrapper but the clean separation of couchr felt like it belongs there.
-Ron