Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F78810A68 for ; Sun, 16 Feb 2014 21:06:31 +0000 (UTC) Received: (qmail 50880 invoked by uid 500); 16 Feb 2014 21:06:25 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 50771 invoked by uid 500); 16 Feb 2014 21:06:23 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 50720 invoked by uid 99); 16 Feb 2014 21:06:23 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2014 21:06:23 +0000 Date: Sun, 16 Feb 2014 21:06:23 +0000 (UTC) From: "Andy Wenk (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (COUCHDB-1474) jquery.couch.js: cleanup assignment for user_doc.type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1474?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Wenk closed COUCHDB-1474. ------------------------------ Resolution: Fixed > 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=C3=A9phane Alnet > Priority: Trivial > > The source code for jquery.couch.js in 1.2 and git master contains: > user_doc.type =3D user_doc.type =3D "user" || []; > in the signup() method. This code makes little sense; thankfully it is eq= uivalent to the old prepareUserDoc() code: > user_doc.type =3D "user"; > but the extraneous assignment and test should be removed. -- This message was sent by Atlassian JIRA (v6.1.5#6160)