WickyNilliams/enquire.js — pull request #123 by marcialca (2014-11-28 00:53:24+00:00)
Title: Improve CommonJS Enviroment check

I was bitten by this kind of issues using Enquire.js:
https://github.com/jquery/qunit/issues/190
https://github.com/mroderick/PubSubJS/issues/13

To fix these issues I improved the CommonJS check, instead of just asking for the existence of module.exports, we ask if the exports global is an object (ad PubSubJS did)

Thanks.