madhums/node-express-mongoose-demo — pull request #116 by gfauchart (2014-09-03 13:59:16+00:00)
Title: fix javascript extension search

the test to check the extension of js file is not exclusive enough,
it included my emacs backup file ex: user.js~
which lead to this error:
OverwriteModelError: Cannot overwrite `User` model once compiled.