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
- Host: GitHub
- URL: https://github.com/navinpeiris/jquery-placeholder-rails
- Owner: navinpeiris
- License: mit
- Created: 2013-07-11T06:18:08.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-06-10T23:41:46.000Z (about 11 years ago)
- Last Synced: 2025-03-27T06:22:32.841Z (over 1 year ago)
- Language: Ruby
- Size: 133 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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