fat/bean — pull request #75 by jfromaniello (2012-08-29 04:02:28+00:00)
Title: AMD + qunit fix

I am having a problem when using this as AMD (asynchronous module definition) and at the same time having qunit loaded in the same page.

The problem is because qunit introduces a global "module" and bean checks if there is a global module then it does not uses AMD.

I copied from bonzo [this](https://github.com/ded/bonzo/blob/master/bonzo.js#L7) it does not only checks for the "module" variable but also checks for module.exports.

thanks,