You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/01 10:53:19 UTC

[jira] [Commented] (COUCHDB-1474) jquery.couch.js: cleanup assignment for user_doc.type

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

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

Commit 0ff661b5df8b28dfdcfd577f89b210885e81b20b in couchdb-jquery-couch's branch refs/heads/import-master from [~robertkowalski]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-jquery-couch.git;h=0ff661b ]

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.2#6252)