RaveJS/rave — pull request #46 by unscriptable (2014-06-23 02:55:35+00:00)
Title: Auto-sniff for AMD when moduleType is unknown.

In-progress fix for #45.

* Factored-out the code finder from findRequires and reused it to look for evidence of AMD in a module.
* Look for AMD evidence when module type is unknown when instantiating a module.

Initial smoke tests look good. Still needs more unit tests.