JavaScript 0.3 Tent client built on the HTTP component of Marbles.js for the browser.
Add these lines to your application's Gemfile:
gem 'marbles-js', :git => 'git://github.com/jvatic/marbles-js.git', :branch => 'master'
gem 'marbles-tent-client-js', :git => 'git://github.com/tent/marbles-tent-client-js.git', :branch => 'master'
And then execute:
$ bundle
This gem is meant to be used in conjunction with Sprockets. Download and compile the coffee-script source files you need otherwise.
# Assuming you have an existing Sprockets environment assigned to `environment`
MarblesJS::Sprockets.setup(environment)
MarblesTentClientJS::Sprockets.setup(environment)
//= require marbles
//= require tent-client
//= require marbles/http
//= require marbles/http/middleware
//= require tent-client
- Fork it
- 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 new Pull Request