mongodb/node-mongodb-native — pull request #1145 by thomseddon (2014-02-12 11:02:50+00:00)
Title: Remove superfluous connect object copying in index.js

The main export is a reference to Db.connect and a reference to all other exports is attached to the the Db.connect object on startup.

Previously this was done twice.

Note: if the intention of creating the "obj" object was so that the "pure" method does not return an object with a reference to itself then that's not how it works.