summaryrefslogtreecommitdiff
path: root/share/www/script/couch.js
diff options
context:
space:
mode:
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);