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 5F2AA10DF5 for ; Tue, 10 Dec 2013 15:44:38 +0000 (UTC) Received: (qmail 86034 invoked by uid 500); 10 Dec 2013 15:44:35 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 85962 invoked by uid 500); 10 Dec 2013 15:44:34 -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 85918 invoked by uid 99); 10 Dec 2013 15:44:33 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 15:44:33 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4B9BD903E96; Tue, 10 Dec 2013 15:44:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: garren@apache.org To: commits@couchdb.apache.org Date: Tue, 10 Dec 2013 15:44:33 -0000 Message-Id: <4134297f274f4837aa3f2dd70665b2af@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/3] git commit: updated refs/heads/master to 0f37358 Updated Branches: refs/heads/master 9eb262979 -> 0f3735887 Fauxton: Improvements and fixes Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0f373588 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0f373588 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0f373588 Branch: refs/heads/master Commit: 0f3735887b80d6e057abade2703c99f81cd92ca5 Parents: 6f5580a Author: Garren Smith Authored: Tue Dec 10 17:41:20 2013 +0200 Committer: Garren Smith Committed: Tue Dec 10 17:42:58 2013 +0200 ---------------------------------------------------------------------- src/fauxton/app/modules/databases/views.js | 1 - src/fauxton/app/modules/documents/views.js | 4 ++-- src/fauxton/app/templates/documents/sidebar.html | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/0f373588/src/fauxton/app/modules/databases/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/modules/databases/views.js b/src/fauxton/app/modules/databases/views.js index 5d46cd3..7d59ac4 100644 --- a/src/fauxton/app/modules/databases/views.js +++ b/src/fauxton/app/modules/databases/views.js @@ -111,7 +111,6 @@ function(app, Components, FauxtonAPI, Databases) { dbLimit: this.dbLimit, el: "input.search-query", onUpdate: function (item) { - console.log('boom', item); that.switchDatabase(null, item); } }); http://git-wip-us.apache.org/repos/asf/couchdb/blob/0f373588/src/fauxton/app/modules/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js index b621e50..83f8e55 100644 --- a/src/fauxton/app/modules/documents/views.js +++ b/src/fauxton/app/modules/documents/views.js @@ -976,7 +976,6 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum if (typeof(options.hasReduce) === 'undefined') { this.hasReduce = true; - console.log('set true'); } else { this.hasReduce = options.hasReduce; } @@ -1126,6 +1125,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum this.ddocName = options.ddocName; this.database = options.database; this.listenTo(this.collection, 'add', this.ddocAdded); + this.DocModel = options.DocModel || Documents.Doc; }, ddocAdded: function (ddoc) { @@ -1159,7 +1159,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum views: {}, language: "javascript" }; - return new Documents.Doc(doc, {database: this.database}); + return new this.DocModel(doc, {database: this.database}); } else { var ddocName = this.$('#ddoc').val(); return this.collection.find(function (ddoc) { http://git-wip-us.apache.org/repos/asf/couchdb/blob/0f373588/src/fauxton/app/templates/documents/sidebar.html ---------------------------------------------------------------------- diff --git a/src/fauxton/app/templates/documents/sidebar.html b/src/fauxton/app/templates/documents/sidebar.html index 4becf93..8fccc09 100644 --- a/src/fauxton/app/templates/documents/sidebar.html +++ b/src/fauxton/app/templates/documents/sidebar.html @@ -63,5 +63,6 @@ the License.
  • New
  • <% } %> +