Adds the jQuery TextExt plugin to the Rails 3.1 asset pipeline
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets
.gitignore
Gemfile
LICENSE
README.md
Rakefile
textext-rails.gemspec

README.md

Textext Rails

Brings the jQuery TextExt plugin into the Rails asset pipeline. The TextExt asset files are from the TextExt 1.3.1 release.

Installation

Add this line to your Gemfile:

gem 'textext-rails'

Then in your app/assets/javscipts/application.js file, include the core JS file plus any other TextExt plugins you need.

//= require textext.core
//= require textext.plugin.tags

Then, add the core CSS plus any plugins you need to your app/assets/stylesheets/application.css.scss file:

*= require textext.core
*= require textext.plugin.tags

That's it! Please see the TextExt manual and Github page for further usage information.

License

MIT licensed. Please see the LICENSE file for more information.