2.1.1 • Published 3 years ago

modular-ujs v2.1.1

Weekly downloads
235
License
MIT
Repository
github
Last release
3 years ago

Rails UJS as Javascript modules without jQuery

Requires support for element.matches & CustomEvent. I didn't want to include polyfills because I think every npm module should not include its own polyfills, that will bloat projects. Polyfill as needed.

TODO

Install

npm install modular-ujs

Contribute

Clone repo

$ git clone https://github.com/sakamies/modular-ujs
$ cd modular-js/

Install dependencies

$ npm install

TODO: add webpack & babel so you can build this

Run tests

$ npm run test

Thanks to the original authors of Vanilla UJS

License

MIT License, see LICENSE file.