README.md in enableplaceholder-jquery-rails-1.2.2.pre.2 vs README.md in enableplaceholder-jquery-rails-1.2.2

- old
+ new

@@ -1,50 +1,37 @@ -# enableplaceholder-jquery-rails -[![Gem Version](https://badge.fury.io/rb/enableplaceholder-jquery-rails.png)](http://badge.fury.io/rb/enableplaceholder-jquery-rails) -[![Build Status](https://travis-ci.org/jhx/gem-enableplaceholder-jquery-rails.png?branch=master)](https://travis-ci.org/jhx/gem-enableplaceholder-jquery-rails) -[![Dependency Status](https://gemnasium.com/jhx/gem-enableplaceholder-jquery-rails.png)](https://gemnasium.com/jhx/gem-enableplaceholder-jquery-rails) -[![Code Climate](https://codeclimate.com/github/jhx/gem-enableplaceholder-jquery-rails.png)](https://codeclimate.com/github/jhx/gem-enableplaceholder-jquery-rails) -[![Coverage Status](https://coveralls.io/repos/jhx/gem-enableplaceholder-jquery-rails/badge.png)](https://coveralls.io/r/jhx/gem-enableplaceholder-jquery-rails) +# enableplaceholder-jquery-rails [![Gem Version](https://badge.fury.io/rb/enableplaceholder-jquery-rails.png)](http://badge.fury.io/rb/enableplaceholder-jquery-rails) -> Gemified by Doc Walker +> Created by Doc Walker Provides the `enablePlaceholder` jQuery plugin packaged for the Rails 3.1+ asset pipeline. ## Installation -Add these lines to your application's `Gemfile`: +Add these lines to your application's Gemfile: -```rb -# enablePlaceholder jquery plugin packaged for the rails asset pipeline -gem 'enableplaceholder-jquery-rails', '~> 1.2.2' -``` + # enablePlaceholder jquery plugin packaged for the rails asset pipeline + gem 'enableplaceholder-jquery-rails', '~> 1.2.2' And then execute: -```sh -$ bundle -``` + $ bundle Or install it yourself as: -```sh -$ gem install enableplaceholder-jquery-rails -``` + $ gem install enableplaceholder-jquery-rails Gem version notes: - x.y.z version will track the `enablePlaceholder` plugin version; - It may contain a suffix to differentiate versions of the gem based on the same `enablePlaceholder` plugin version; ## Usage Add these lines to `app/assets/javascripts/application.js` -```js -// provides HTML5 placeholder behavior for old browsers -// from gem 'enableplaceholder-jquery-rails': -//= require enableplaceholder-jquery-rails -``` + // provides HTML5 placeholder behavior for old browsers + // from gem 'enableplaceholder-jquery-rails': + //= require jquery.enablePlaceholder ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)