couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1037215 - /couchdb/branches/1.0.x/share/server/util.js
Date Sat, 20 Nov 2010 14:02:46 GMT
Author: fdmanana
Date: Sat Nov 20 14:02:45 2010
New Revision: 1037215

URL: http://svn.apache.org/viewvc?rev=1037215&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.0.x/share/server/util.js

Modified: couchdb/branches/1.0.x/share/server/util.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/share/server/util.js?rev=1037215&r1=1037214&r2=1037215&view=diff
==============================================================================
--- couchdb/branches/1.0.x/share/server/util.js (original)
+++ couchdb/branches/1.0.x/share/server/util.js Sat Nov 20 14:02:45 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