douglascrockford/JSCheck — pull request #15 by begriffs (2013-12-20 22:11:52+00:00)
Title: Expose interface to CommonJS if present

This change allows people to `require()` JSCheck in the CommonJS module system (for instance in Node.js).

* The change passes JSLint
* It gracefully degrades to the JSC global variable when CommonJS is not present
* It makes the library more convenient to use in a test runner
* It's a simple change