couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r934272 - /couchdb/trunk/share/www/script/futon.browse.js
Date Thu, 15 Apr 2010 03:04:13 GMT
Author: jchris
Date: Thu Apr 15 03:04:12 2010
New Revision: 934272

URL: http://svn.apache.org/viewvc?rev=934272&view=rev
Log:
ruby example function works with @mattly`s query server

Modified:
    couchdb/trunk/share/www/script/futon.browse.js

Modified: couchdb/trunk/share/www/script/futon.browse.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/futon.browse.js?rev=934272&r1=934271&r2=934272&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/futon.browse.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/futon.browse.js [utf-8] Thu Apr 15 03:04:12 2010
@@ -133,7 +133,7 @@
       var templates = {
         javascript: "function(doc) {\n  emit(null, doc);\n}",
         python: "def fun(doc):\n  yield None, doc",
-        ruby: "{|doc|\n  emit(nil, doc);\n}"
+        ruby: "lambda {|doc|\n  emit(nil, doc);\n}"
       }
 
       this.newDocument = function() {



Mime
View raw message