Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23C9E11D54 for ; Fri, 29 Aug 2014 20:46:02 +0000 (UTC) Received: (qmail 91618 invoked by uid 500); 29 Aug 2014 20:46:02 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 91454 invoked by uid 500); 29 Aug 2014 20:46:02 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 91416 invoked by uid 99); 29 Aug 2014 20:46:01 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Aug 2014 20:46:01 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B3F9E9A8D9C; Fri, 29 Aug 2014 20:46:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chewbranca@apache.org To: commits@couchdb.apache.org Date: Fri, 29 Aug 2014 20:46:04 -0000 Message-Id: In-Reply-To: <5d3c95a1c7e24bfab59866e46333aad2@git.apache.org> References: <5d3c95a1c7e24bfab59866e46333aad2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/13] couchdb commit: updated refs/heads/1963-eunit-bigcouch to 36bd96a fix requestStats Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4b44ebc8 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4b44ebc8 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4b44ebc8 Branch: refs/heads/1963-eunit-bigcouch Commit: 4b44ebc8366701076e0b1b3aa31a059df714e0a3 Parents: 5517320 Author: Robert Newson Authored: Fri Aug 29 12:49:30 2014 +0100 Committer: Robert Newson Committed: Fri Aug 29 12:49:30 2014 +0100 ---------------------------------------------------------------------- share/www/script/couch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/4b44ebc8/share/www/script/couch.js ---------------------------------------------------------------------- diff --git a/share/www/script/couch.js b/share/www/script/couch.js index 122db75..31b3830 100644 --- a/share/www/script/couch.js +++ b/share/www/script/couch.js @@ -440,7 +440,7 @@ CouchDB.requestStats = function(module, key, test) { var url = "/_stats/" + module + "/" + key + query_arg; var stat = CouchDB.request("GET", url).responseText; - return JSON.parse(stat)[module][key]; + return JSON.parse(stat); }; CouchDB.uuids_cache = [];