You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/05/22 23:28:55 UTC

svn commit: r947336 - /couchdb/trunk/share/www/script/jquery.couch.js

Author: jan
Date: Sat May 22 21:28:54 2010
New Revision: 947336

URL: http://svn.apache.org/viewvc?rev=947336&view=rev
Log:
Check for undefined options. Patch by Filipe Manana. Closes COUCHDB-774.

Modified:
    couchdb/trunk/share/www/script/jquery.couch.js

Modified: couchdb/trunk/share/www/script/jquery.couch.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/jquery.couch.js?rev=947336&r1=947335&r2=947336&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/jquery.couch.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/jquery.couch.js [utf-8] Sat May 22 21:28:54 2010
@@ -476,6 +476,7 @@
   }
 
   function fullCommit(options) {
+    var options = options || {};
     if (typeof options.ensure_full_commit !== "undefined") {
       var commit = options.ensure_full_commit;
       delete options.ensure_full_commit;