couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1474) jquery.couch.js: cleanup assignment for user_doc.type
Date Sun, 16 Feb 2014 21:06:20 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13902840#comment-13902840
] 

ASF subversion and git services commented on COUCHDB-1474:
----------------------------------------------------------

Commit ea9bc69e003426c256893f53063b24dd71b6ac46 in couchdb's branch refs/heads/master from
Robert Kowalski
[ https://git-wip-us.apache.org/repos/asf?p=couchdb.git;h=ea9bc69 ]

remove superfluous 'user_doc.type'

Fixes COUCHDB-1474


> 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
>
> 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 was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message