backbone-soundmanager2-rails
This gem simply packages backbone.soundmanager2 for use in Rails/Sprockets asset pipeline.
Installation
Add this line to your application's Gemfile:
gem 'backbone-soundmanager2-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install backbone-soundmanager2-rails
Usage
In application.js
include this line:
//= require 'backbone-soundmanager2'
Then follow the instructions here.
Contributing
- Fork it ( https://github.com/acolorbright/backbone-soundmanager2-rails/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request