0.0
No commit activity in last 3 years
No release in over 3 years
Adds the Aight shim into your Rails assets
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.6
>= 0

Runtime

< 5.0, ~> 4.0
 Project Readme

Aight::Rails

Adds the excellent Aight shim/polyfill into your rails application.

Usage

Add the following to your Gemfile:

gem 'aight-rails'

then run:

bundle install

Now you only need to add the following to your layout:

<!--[if lt IE 9]>
  <%= javascript_include_tag 'aight' %>
<![endif]-->

Also includes the d3 extension to aight. To include it just:

<!--[if lt IE 9]>
  <%= javascript_include_tag 'aight.d3' %>
<![endif]-->

License

Same as Aight itself this is public domain. See https://github.com/shawnbot/aight/blob/master/LICENSE for further details.