MatthewMueller/wrap-fn — pull request #2 by blakeembrey (2014-09-17 16:20:19+00:00)
Title: Promises, synchronous errors and tests

Synchronous functions are wrapped in a `try..catch` to support synchronous errors and the return function is checked for a promise.