couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [26/50] jquery-couch commit: updated refs/heads/import-master to 66dbcbf
Date Tue, 01 Apr 2014 08:52:31 GMT
fix jquery.couch.js replicate options

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@960148 13f79535-47bb-0310-9956-ffa450edef68


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

Branch: refs/heads/import-master
Commit: 43fe30ec37836d1e7dba7c482279dedcbbc779a4
Parents: b629414
Author: John Christopher Anderson <jchris@apache.org>
Authored: Sat Jul 3 01:24:12 2010 +0000
Committer: Alexander Shorin <kxepal@gmail.com>
Committed: Sat Jul 3 01:24:12 2010 +0000

----------------------------------------------------------------------
 jquery.couch.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/blob/43fe30ec/jquery.couch.js
----------------------------------------------------------------------
diff --git a/jquery.couch.js b/jquery.couch.js
index 5f4de8b..ab8db00 100644
--- a/jquery.couch.js
+++ b/jquery.couch.js
@@ -562,7 +562,7 @@
     },
 
     replicate: function(source, target, ajaxOptions, repOpts) {
-      $.extend(repOpts, {source: source, target: target});
+      repOpts = $.extend({source: source, target: target}, repOpts);
       if (repOpts.continuous) {
         ajaxOptions.successStatus = 202;
       }


Mime
View raw message