0.09
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
This gem provides Rails UJS features without jQuery library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.11

Runtime

>= 4.2.0
 Project Readme

Vanilla UJS

Build StatusDependency Status

It is implementation of Rails jQuery UJS in pure JavaScript. No extra dependencies.

Installation using the vanilla-ujs gem

For automated installation in Rails, use the vanilla-ujs gem. Place this in your Gemfile:

gem 'vanilla-ujs'

And run:

$ bundle install

Require vanilla-ujs into your application.js manifest.

//= require vanilla-ujs

Does it mean that I shouldn't use jQuery

No. You should if you want. This library is created to make your Rails code independent from front-end library.

Contribute

  1. Clone repo

     $ git clone git://github.com/hauleth/vanilla-ujs.git
     $ cd vanilla-js/
    
  2. Install dependencies

     $ npm install
    
  3. Run tests

     $ grunt test
    

Thanks

License

See LICENSE file.