This gem provides alertify.js (v0.3.15) for Rails.
In your Gemfile:
gem 'alertify-rails'
or system wide:
$ gem install alertify-rails
The alertify files will be added to the asset pipeline and available for you to use. Add the following line to app/assets/javascripts/application.js
//= require alertify
In order to get the CSS, add the following line to app/assets/stylesheets/application.scss
@import 'alertify/core';
@import 'alertify/themes/default'; // Chose one theme of default, bootstrap and bootstrap3
If that doesn't work, try:
@import 'alertify.core';
@import 'alertify.default';
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright © 2012 Rudolf Schmidt, released under the MIT license