couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Git at Apache <...@git.apache.org>
Subject couchdb pull request: Fix for problem with "require"-ing a js module which ...
Date Sat, 28 Apr 2012 18:29:44 GMT
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


Mime
View raw message