couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxepal <...@git.apache.org>
Subject [GitHub] couchdb-fauxton pull request: fix update-seq
Date Fri, 06 Mar 2015 18:59:52 GMT
Github user kxepal commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/312#discussion_r25968001
  
    --- Diff: app/addons/databases/resources.js ---
    @@ -137,6 +137,8 @@ function(app, FauxtonAPI, Documents) {
           var updateSeq = this.get("update_seq");
           if (full || (typeof(updateSeq) === 'number')) {
             return updateSeq;
    +      } else if (typeof(updateSeq) === 'string') {
    +        return updateSeq.split('-')[0];
    --- End diff --
    
    Above you return a number as like as below. Here you return a string. Wouldn't it cause
any problems somewhere ahead?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message