Onion JS. Brings tears to your eyes.
CoffeeScript JavaScript Ruby
Switch branches/tags
Nothing to show
Clone or download
Mark Evans
Mark Evans Merge pull request #14 from pablobm/restrictive-csp
A CSP may restrict usage of `eval()` and similar
Latest commit e196889 Mar 7, 2014

README.md

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