blueimp/Gallery — pull request #177 by cjlien42 (2014-08-25 18:01:44+00:00)
Title: Add commonjs module support

This commit adds commonjs module support by adding an 'else if' clause
to each of the if statements that determine if we are loading amd
modules, or if we're directly in the browser. Adding commonjs module
support greatly simplifies use from within browserify by allowing the following.
```javascript
var Gallery = require("blueimp-gallery");
```