couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1037216 - /couchdb/branches/1.1.x/share/server/util.js
Date Sat, 20 Nov 2010 14:03:15 GMT
Author: fdmanana
Date: Sat Nov 20 14:03:15 2010
New Revision: 1037216

URL: http://svn.apache.org/viewvc?rev=1037216&view=rev
Log:
Merged revision 1037213 from trunk:

Bug fix: using undeclared identifier (doc). The function argument is named obj, not doc.


Modified:
    couchdb/branches/1.1.x/share/server/util.js

Modified: couchdb/branches/1.1.x/share/server/util.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/share/server/util.js?rev=1037216&r1=1037215&r2=1037216&view=diff
==============================================================================
--- couchdb/branches/1.1.x/share/server/util.js (original)
+++ couchdb/branches/1.1.x/share/server/util.js Sat Nov 20 14:03:15 2010
@@ -98,8 +98,8 @@ var Couch = {
     // seal() is broken in current Spidermonkey
     seal(obj);
     for (var propname in obj) {
-      if (typeof doc[propname] == "object") {
-        recursivelySeal(doc[propname]);
+      if (typeof obj[propname] == "object") {
+        recursivelySeal(obj[propname]);
       }
     }
   }



Mime
View raw message