JavascriptBattle/javascript-battle-webworkers — pull request #103 by gjtrowbridge (2014-10-19 06:43:36+00:00)
Title: refactor(many): Add wrapper around mongo connection

Main fix:
Write wrapper to handle database disconnections and to do auto-retries when db is disconnected.

Also:
rewrite promises to be cleaner,
add .done and .finally statements instead of only .catch statements
fix up various parts of the code to be cleaner.