modular-ujs

2.1.1 • Public • Published

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.

/modular-ujs/

    Package Sidebar

    Install

    npm i modular-ujs

    Weekly Downloads

    589

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    399 kB

    Total Files

    25

    Last publish

    Collaborators

    • sakamies