couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1037266 - /couchdb/trunk/share/server/render.js
Date Sat, 20 Nov 2010 17:03:50 GMT
Author: fdmanana
Date: Sat Nov 20 17:03:50 2010
New Revision: 1037266

URL: http://svn.apache.org/viewvc?rev=1037266&view=rev
Log:
Add missing var statements and trailing semicolons.

Modified:
    couchdb/trunk/share/server/render.js

Modified: couchdb/trunk/share/server/render.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/render.js?rev=1037266&r1=1037265&r2=1037266&view=diff
==============================================================================
--- couchdb/trunk/share/server/render.js (original)
+++ couchdb/trunk/share/server/render.js Sat Nov 20 17:03:50 2010
@@ -228,7 +228,7 @@ var Render = (function() {
         resp = maybeWrapResponse(resp);
         resp.headers = resp.headers || {};
         for(var header in startResp) {
-          resp.headers[header] = startResp[header]
+          resp.headers[header] = startResp[header];
         }
         resp.body = chunks.join("") + (resp.body || "");
         resetList();
@@ -284,8 +284,8 @@ var Render = (function() {
     try {
       Mime.resetProvides();
       resetList();
-      head = args[0]
-      req = args[1]
+      var head = args[0];
+      var req = args[1];
       var tail = listFun.apply(ddoc, args);
 
       if (Mime.providesUsed) {



Mime
View raw message