You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by Git at Apache <gi...@git.apache.org> on 2012/04/28 20:29:44 UTC
couchdb pull request: Fix for problem with "require"-ing a js module which ...
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