stefanpenner/ember-jj-abrams-resolver — pull request #15 by rjackson (2014-01-17 21:52:50+00:00)
Title: Allow 'some-type:main' modules to be looked up easier.

This removes the need to define custom resolver methods for every type that
also has a `main` module.

Specifically, in Ember-land we have at least two of these (possibly more):

* `adapter:main`
* `router:main`

Prior to this change you would have to add a `resolveRouter` method to the
resolver. This instructs the resolver to update look for a module with the
`prefix + type`, and falls back on the existing logic if it is not found.

-----

Please note that this builds off of which has a test to ensure that `router:main` is found when registered as `appkit/router` (with `appkit` as the `modulePrefix`).