Nerian/bootstrap-wysihtml5-rails — pull request #41 by taavo (2012-12-03 20:38:24+00:00)
Title: Precompile assets

This pull request adds an initializer which adds bootstrap-wysihtml5.css, bootstrap-wysihtml5/wysiwyg-color.css and bootstrap-wysihtml5.js to the config.assets.precompile array.

The up side:

- No need to manually change your production config to precompile wysiwyg-color.css
- Zero configuration integration with rails_admin (see sferik/rails_admin#1312)

The down side:

- A second or two of unnecessary precompilation of two of those three files for people already including them in their application.js and application.css.

In lieu of a test suite, I tested this on an app of mine and it seems to work as expected.

Thanks for the gem, and if there's anything I can do to support this pull request please let me know.