couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject [24/50] [abbrv] couchdb commit: updated refs/heads/2041-update-ibrowse to 948e7d9
Date Fri, 07 Mar 2014 00:18:07 GMT
remove superfluous 'user_doc.type'

Fixes COUCHDB-1474


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/ea9bc69e
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/ea9bc69e
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/ea9bc69e

Branch: refs/heads/2041-update-ibrowse
Commit: ea9bc69e003426c256893f53063b24dd71b6ac46
Parents: 2625c34
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Sun Feb 16 21:37:44 2014 +0100
Committer: Andy Wenk <andywenk@apache.org>
Committed: Sun Feb 16 22:02:50 2014 +0100

----------------------------------------------------------------------
 share/www/script/jquery.couch.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ea9bc69e/share/www/script/jquery.couch.js
----------------------------------------------------------------------
diff --git a/share/www/script/jquery.couch.js b/share/www/script/jquery.couch.js
index 1a4c3b7..e78b67e 100644
--- a/share/www/script/jquery.couch.js
+++ b/share/www/script/jquery.couch.js
@@ -182,8 +182,8 @@
     signup: function(user_doc, password, options) {
       options = options || {};
       user_doc.password = password;
-      user_doc.roles =  user_doc.roles || [];
-      user_doc.type =  user_doc.type = "user" || [];
+      user_doc.roles = user_doc.roles || [];
+      user_doc.type = "user";
       var user_prefix = "org.couchdb.user:";
       user_doc._id = user_doc._id || user_prefix + user_doc.name;
 


Mime
View raw message