couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1474) jquery.couch.js: cleanup assignment for user_doc.type
Date Thu, 10 Jan 2013 23:02:13 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jan Lehnardt updated COUCHDB-1474:
----------------------------------

    Fix Version/s:     (was: 1.2.1)
                   1.4
    
> jquery.couch.js: cleanup assignment for user_doc.type
> -----------------------------------------------------
>
>                 Key: COUCHDB-1474
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1474
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Futon
>    Affects Versions: 1.2
>         Environment: Debian/testing
>            Reporter: St├ęphane Alnet
>            Priority: Trivial
>             Fix For: 1.4
>
>
> The source code for jquery.couch.js in 1.2 and git master contains:
>   user_doc.type =  user_doc.type = "user" || [];
> in the signup() method. This code makes little sense; thankfully it is equivalent to
the old prepareUserDoc() code:
>   user_doc.type = "user";
> but the extraneous assignment and test should be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message