jimguys/cuddlychang — pull request #6 by marclitchfield (2013-09-14 08:19:55+00:00)
Title: Module refactor

Branched from error-handling

Now objects are instantiated with a require statement, and dependencies are passed in to the module's constructor.

The repositories still have to pass the dbConfig into the common_repository quite a lot, so we could consider converting the common_repository into an object and inject the dbConfig into its constructor.