kingtak/Tasking — pull request #1 by jaywon (2014-04-07 23:33:11+00:00)
Title: Refactored models.js to be in it's own models directory. Also refactored...

... to define schema and model locally but to expose those definitions via the module. This allows for single time compilation but many time access. Also left in commented code for how to do this in a more object based way but after looking at it seems unnecessary and cleaner this way.