summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-05-23 11:09:17 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-05-23 11:09:17 +0000
commit0de41589080a9ebbd172e96a3d2130591c671898 (patch)
tree434d7f1c6d8fa7996d5095cf53b7225d1f3a0d9d /share/www/script/couch.js
parent10c68254aac8647c7bcf2a3d8f9523658eb828f7 (diff)
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
Diffstat (limited to 'share/www/script/couch.js')
-rw-r--r--share/www/script/couch.js4
1 files changed, 2 insertions, 2 deletions
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);