不依赖 jQuery 的 UJS
It is implementation of Rails jQuery UJS in pure JavaScript. No extra dependencies.
For automated installation in Rails, use the vanilla-ujs gem.
Place this in your Gemfile:
gem 'vanilla-ujs'And run:
$ bundle installRequire vanilla-ujs into your application.js manifest.
//= require vanilla-ujsNo. You should if you want. This library is created to make your Rails code independent from front-end library.
Clone repo
$ git clone git://github.com/hauleth/vanilla-ujs.git
$ cd vanilla-js/
Install dependencies
$ npm install
Run tests
$ grunt testSee LICENSE file.
暂无开放 Issues,或尚未同步最近议题。