Batman.js is no longer in production at Shopify and is not actively maintained.

This website is left for reference (and for old times' sake).

batman.js

Using the gem

Automatically vendors the latest version of batman.js for Rails 4 in your project. In the Gemfile for your project add gem "batman-rails".

After modifying your Gemfile:

Requires Rails 3.2+, and the rails asset pipeline provided by sprockets.

Sample project .zip

Includes a minified copy of batman.js and accompanying folder structure to get you building a batman project in no time.

Standalone

Compiled and minified batman.js files:

Latest stable release: Download v0.16.0

Development release: Download master