0.01
No commit activity in last 3 years
No release in over 3 years
Include Placeholder.js in your Rails projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.2.2
>= 0

Runtime

>= 3.1
 Project Readme

[Deprecated/Unsupported] Placeholder Gem Gem Version

Placeholders.js HTML polyfill as a Ruby gem.

03/25/2015 - Unsupported: Due to the ETS Berkeley team now using npm for front-end dependencies, this gem is no longer supported.

Getting Started

Add the gem to your Gemfile:

gem "placeholder-gem"

And run

bundle install

in the terminal to download the resources.

Adding the files to your projects

In order for the files to load, you'll need to do add them.

application.js:

//= require placeholder

and you should be good to go.

Updating this plug-in

If you would like to update this gem you should take the following steps:

  1. rake download VERSION=vX.X.X. If you don't specify the version, it will get the latest one.
  2. rake tag VERSION=vX.X.X will tag the version you've specified as the standard version.
  3. Make a Pull request

Then the maintainer of the gem will need to do the following steps:

  1. Update the version lib/placeholder-gem/version.rb
  2. Run gem build placeholder-gem.gemspec to package the gem
  3. Once satisfied, push the gem up to RubyGems.org with gem push placeholder-gem-<VERSION>.gem
  4. Update the changelog