Github user garrensmith commented on a diff in the pull request:
https://github.com/apache/couchdb/pull/137#discussion_r10613508
--- Diff: src/fauxton/app/addons/documents/views.js ---
@@ -1324,9 +1353,13 @@ function(app, FauxtonAPI, Components, Documents,
Databases, pouchdb, resizeColum
updateReduce: function(event) {
var $ele = $("#reduce-function-selector");
var $reduceContainer = $(".control-group.reduce-function");
+ var langTemplate = _.filter(_.pluck(this.queryservers,
this.language))[0];
--- End diff --
Can you make `_.filter(_.pluck(this.queryservers, this.language))[0];` its
own method.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---