Project

js-rails

0.0
No commit activity in last 3 years
No release in over 3 years
Common JavaScript libraries for the Rails asset pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 3.1
 Project Readme

js-rails

Common JavaScript libraries for the Rails asset pipeline.

Installation

Add this line to the assets group in your Gemfile:

gem 'js-rails'

This gem includes jquery.js, jquery.min.js and jquery_ujs.js, so a dependency on jquery-rails is not needed anymore.

Add the necessary libraries to app/assets/javascripts/application.js:

//= require jquery
//= require jquery_ujs

What's included?

  • jQuery 1.8.1 (jquery, jquery.min, jquery_ujs)
  • Zepto 1.0rc1 (zepto, zepto.min)
  • Underscore.js 1.3.3 (underscore, underscore.min)
  • Handlebars 1.0.0.beta.6 (handlebars, handlebars.runtime)
  • Backbone 0.9.2 (backbone, backbone.min)
  • Ember 0.9.8.1 (ember, ember.min)
  • Angular 1.0.1 (angular)
  • Moment 1.6.2 (moment, moment.min)
  • D3 2.9.6 (d3.v2, d3.v2.min)

Acknowledgements

This gem is based on other gems, most notably jquery-rails.

Copyright Richard Hubers, released under the MIT License.