idottv/dependable — pull request #21 by idrarig (2014-01-15 14:18:14+00:00)
Title: Switch to enable async factory functions returning promises

Passing `{ asyncStyle: 'promise' }` to `container()` makes the returned container promise-based, thus allowing factory functions to return promises and be asynchronous. Thus `deps.get()` and `deps.resolve()` return promises. I chose this way of enabling the switch because maybe we could also add `{ asyncStyle: 'traditional' }` as an option.