From 0de41589080a9ebbd172e96a3d2130591c671898 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Fri, 23 May 2008 11:09:17 +0000 Subject: Initial set of changes to Futon to support the recent introduction map/reduce. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@659501 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/couch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www/script/couch.js') diff --git a/share/www/script/couch.js b/share/www/script/couch.js index 0b2f828c..d1cff6c1 100644 --- a/share/www/script/couch.js +++ b/share/www/script/couch.js @@ -113,7 +113,7 @@ function CouchDB(name) { throw result; return result; } - + this.view = function(viewname, options) { var req = request("GET", this.uri + "_view/" + viewname + encodeOptions(options)); if (req.status == 404) @@ -140,7 +140,7 @@ function CouchDB(name) { throw result; return result; } - + this.compact = function() { var req = request("POST", this.uri + "_compact"); var result = JSON.parse(req.responseText); -- cgit v1.2.3