Permalink
Browse files

Merge pull request #175 from stevebest/patch-1

Fix global var leak
  • Loading branch information...
2 parents bc0257d + cebf88a commit 57fd02985bbe1e00111d57af25ff451d72763376 @mmalecki mmalecki committed Jun 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/cradle/database/views.js
@@ -88,7 +88,7 @@ Database.prototype._getOrPostView = function (path, options, callback) {
options = parseOptions(options);
if (options && options.body) {
- body = options.body;
+ var body = options.body;
delete options.body;
return this.query({

0 comments on commit 57fd029

Please sign in to comment.