Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 376 Bytes

README.md

File metadata and controls

22 lines (11 loc) · 376 Bytes

Onion JS. Brings tears to your eyes.

Usage in rails

  1. Add requirejs-rails to your project - see instructions at [https://github.com/jwhitley/requirejs-rails]

  2. Add onionjs

    gem 'onionjs'

  3. In your view file, add an app

    <%= onionjs_app :calendar %>

  4. Start making controllers - see usage with

    rails generate onionjs:module

Tests

make test