Fluxx / textext-rails

Adds the jQuery TextExt plugin to the Rails 3.1 asset pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Adds the jQuery TextExt plugin to the Rails 3.1 asset pipeline

License:MIT License


Languages

Language:Ruby 100.0%