Sha256: eff71ecadd0d277304fe3f7f5c99aefa89d47175031b634b6f32f1f3e077f12b
Contents?: true
Size: 813 Bytes
Versions: 1
Compression:
Stored size: 813 Bytes
Contents
Rails asset-pipeline gem to provide [Noty](http://needim.github.com/noty/) # Install ```ruby gem 'noty-rails' ``` # Usage Look at the [official installation instructions](http://needim.github.com/noty/#installation) ## Where to put require statement Since you can set some default config of Noty including layout I think it is more sensible to put the require statements in the same file As you have to require the layout and theme files you need ```coffeescript # app/assets/javascripts/shared/flashes/noty-config.js.coffee #= require noty/jquery.noty #= require noty/layouts/bottom #= require noty/themes/default $ = jQuery $.noty.defaults.timeout = 8000 $.noty.defaults.layout = 'bottom' ``` # Changelog ### 2.0.3.1 - Make it compatible with Rails 4 version (Now is an instance of `Gem::Version`)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noty-rails-2.0.3.1 | README.md |