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 16:42:59 GMT
Github user garrensmith commented on a diff in the pull request:
    --- Diff: src/fauxton/app/addons/documents/views.js ---
    @@ -1598,6 +1633,11 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb,
         serialize: function() {
    +      this.queryservers = FauxtonAPI.getExtensions('queryservers:templates');
    --- End diff --
    when setting queryservers, I think the best approach is to format (using map) into an
object so that each time we need a language parameter we don't need to loop over it but can
rather just do this.queryservers[language].

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