chaijs/chai-jquery — pull request #32 by dominicbarnes (2013-06-11 18:47:25+00:00)
Title: Adding Component.js Support

I've added a `component.json` file for [Component.js](https://github.com/component/component/blob/master/Readme.md) support.

Unfortunately, the "umd" check didn't detect Component.js correctly. While Component.js uses CommonJS like Node does, the `module` object it uses is technically a function, unlike in Node. (although I have noticed that Node is not supported according to the [plugin page](http://chaijs.com/plugins/chai-jquery) anyways)

I've opted to just test for `typeof module !== "undefined"` which will now match both Node and Component. (and likely anything else that uses CommonJS)