Skip to content

Ximik/vanilla-ujs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla UJS

Rails UJS in pure JavaScript, with no jQuery dependency.

Based on code of Łukasz Niemier.

Should I use it?

Consider it if you do not need to support IE<10 and have no other jQuery dependency in your front-end codebase.

Resources to make an educated guess:

Installation

As usual:

Gemfile

gem 'vanilla-ujs'

Run bundle and have the asset pipeline pick it up:

app/assets/javascripts/application.js

//= require vanilla-ujs

Browser support

vanilla-ujs supports all ever green browsers (including IE10+).

About

UJS without jQuery dependency

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%