An open API service indexing awesome lists of open source software.

https://github.com/navinpeiris/jquery-placeholder-rails

jQuery Placeholder for the Rails asset pipeline
https://github.com/navinpeiris/jquery-placeholder-rails

Last synced: over 1 year ago
JSON representation

jQuery Placeholder for the Rails asset pipeline

Awesome Lists containing this project

README

          

# jquery-placeholder-rails

jQuery Placeholder is a utility used to enable HTML5 placeholder text in IE and non-html5 compliant browsers developed
by [Mathias Bynens](http://mathiasbynens.be) now integrated for the Rails asset pipeline.

See [jquery-placeholder](https://github.com/mathiasbynens/jquery-placeholder) for more details.

## Installation

Add this line to your application's Gemfile:

gem 'jquery-placeholder-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install jquery-placeholder-rails

Then require `jquery-placeholder` in your `app/assets/javascripts/application.js` file:

//= require jquery-placeholder

## Usage

See [jquery-placeholder](https://github.com/mathiasbynens/jquery-placeholder).

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request