Atom javascript library prepared for using with Rails 3.1+
Atom is compact JavaScript framework oriented on modern browsers, which allows to support quite broad list of features without keeping a lot of cruft necessary to implement them in old browsers.
Supported browsers:
- Firefox 3.5+
- Google Chrome
- Safari 4+
- Opera 10+
- Internet Explorer 9+
- Mobile Safari
- Android Browser
- Opera Mobile
Atom github repo: https://github.com/theshock/atomjs
First, put this line in your Gemfile
:
gem 'atomjs-rails'
Then run bundle install
to update your application's bundle.
Now you need to edit your app/assets/javascripts/application.js
file and add the following line:
//= require atom
And you're done!
See docs Docs folder for description of Atom core and bundled plugins.