Skip to content

reinteractive-open/aight-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Adds Aight into your Rails asset pipeline

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages