Sha256: ea7d365d4816607f42d5aa635179460c7f13e8c47599b49198586f9e270b690f

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

# es5-shim asset gem for Rails

This asset gem packages [es5-shim](https://github.com/es-shims/es5-shim) for the Rails asset pipeline.

## Installation

Add this line to your application's Gemfile:

    gem 'es5-shim-rails'

    or

    gem 'es5-shim-rails', :git => "git://github.com/yourabi/es5-shim-rails.git"
    

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install es5-shim-rails

## Usage

To use es5-shim in your rails app enable it via the asset pipeline (app/assets/javascripts/application.js).

Add one of the folllwing lines to your application.js manifest:

```js

//= require es5-shim/es5-shim                                                                                                                                                                                                                               
//= require es5-shim/es5-shim-min                                                                                                                                                                                                                               

//= require es5-shim/es5-sham                                                                                                                                                                                                                               
//= require es5-shim/es5-sham-min                                                                                                                                                                                                                               

```

Currently this version tracks es5-shim 4.0.1 [commit 734e4dd](https://github.com/msievers/es5-shim-rails/commit/734e4dd80a1e4cbbd3bb6947c79084e86cb1793b).

## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
es5-shim-rails-4.0.1 README.md