You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2013/12/21 01:46:40 UTC
git commit: updated refs/heads/ENCODE-EVERYTHING to 204ca74
Updated Branches:
refs/heads/ENCODE-EVERYTHING 01258aa0c -> 204ca74f3
fixed the regex for sniffing for design docs
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/204ca74f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/204ca74f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/204ca74f
Branch: refs/heads/ENCODE-EVERYTHING
Commit: 204ca74f34360d303464a61260ea3719995cf98e
Parents: 01258aa
Author: suelockwood <de...@apache.org>
Authored: Fri Dec 20 19:46:28 2013 -0500
Committer: suelockwood <de...@apache.org>
Committed: Fri Dec 20 19:46:28 2013 -0500
----------------------------------------------------------------------
src/fauxton/app/modules/documents/views.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/204ca74f/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 e7c67d1..14d93e7 100644
--- a/src/fauxton/app/modules/documents/views.js
+++ b/src/fauxton/app/modules/documents/views.js
@@ -1715,7 +1715,7 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum
this.collection.each(function(design) {
if (design.has('doc')){
- var ddoc = design.id.replace(/_design\//,"");
+ var ddoc = design.id.replace(/^_design\//,"");
if (design.get('doc').views){
this.buildIndexList(design.get('doc').views, "views", ddoc);
}