couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garrensmith <>
Subject [GitHub] couchdb pull request: 1870 add language option to mapreduce editor
Date Fri, 14 Mar 2014 15:54:12 GMT
Github user garrensmith commented on a diff in the pull request:
    --- Diff: src/fauxton/app/addons/documents/views.js ---
    @@ -1324,9 +1353,13 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb,
         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 or file a JIRA ticket
with INFRA.

View raw message