gett/mongojs — pull request #25 by blisteringherb (2012-08-01 21:34:59+00:00)
Title: Updating variable name to fix error

In a dev environment when using just the database name, I was getting the error:

"Error: database name cannot be the empty string"

The result.db was being incorrectly set to parsed.path when it should be looking for parsed.pathname.