GitHub user maghoff opened the pull request at
https://github.com/apache/couchdb/pull/19

----
Fix for problem with "require"-ing a js module which ends in a line comment

"require"-ing a js module which ends in a line comment will fail with a 
mysterious error message, because the line comment will comment out surrounding 
code added in /share/server/util.js

This patch adds a newline to terminate comments that might appear at the end of 
module files.

Note that it doesn't help to add a newline to the end of the module file -- 
couchdb apparently strips that away.
----

You can merge this pull request into a Git repository by running
$ git pull https://github.com/maghoff/couchdb master

Alternatively you can review and apply these changes as the patch at
https://github.com/apache/couchdb/pull/19.patch

Reply via email to