Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1474

jquery.couch.js: cleanup assignment for user_doc.type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.2
    • None
    • Futon
    • None
    • Debian/testing

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            shimaore Stéphane Alnet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: