Repository is archived
No commit activity in last 3 years
No release in over 3 years
uniformjs for rails assets pipeline
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.5
>= 0

Runtime

 Project Readme

JqueryUniform::Rails

This gem provide jquery.uniform plugin to work with rails assets pipeline idea. Jquery.uniform plugin also require jquery library.

Installation

Add this line to your application's Gemfile:

gem 'jquery_uniform-rails'

And then execute:

$ bundle

Usage

Include in Your app/assets/javascripts/application.js file:

//= require jquery.uniform

Include in Your app/assets/stylesheets/application.css file:

*= require jquery.uniform/uniform.default

or one of available theme:

  • jquery.uniform/uniform.jeans
  • jquery.uniform/uniform.aristo
  • jquery.uniform/uniform.agent
  • jquery.uniform/uniform.default

Now You are able to use jquery.uniform library in Your Rails project:

// Style all <select> elements
$("select").uniform(); 

For more details about usage, check uniform project documentation page: https://github.com/pixelmatrix/uniform

Contributing

  1. Fork it ( http://github.com//jquery_uniform-rails/fork )
  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