Skip to content

Fork of tablesaw-rails. Just a ruby gem for asset pipeline which includes the tablesaw library.

License

Notifications You must be signed in to change notification settings

darkfishy/tablesaw-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tablesaw-rails

Just a ruby gem for asset pipeline which includes the tablesaw library.

Installation

Add this line to your application's Gemfile:

gem 'tablesaw-rails', :git => 'git://github.com/darkfishy/tablesaw-rails.git'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tablesaw-rails

Usage

In your application.js:

//= require tablesaw/tablesaw-init
//= require tablesaw/tablesaw
//= require tablesaw/tables.custom

Also, in your application.css:

*= require tablesaw/tables.bare

Customization

You can also just cherry pick what you want on the tablesaw plugins.

Javascript

//= require tablesaw/tables.sortable
//= require tablesaw/tables.columntoggle
//= require tablesaw/tables.stack
//= require tablesaw/tables.swipetoggle
//= require tablesaw/tables.modeswitch

CSS

*= require tablesaw/tables.sortable
*= require tablesaw/tables.columntoggle
*= require tablesaw/tables.stack
*= require tablesaw/tables.swipetoggle
*= require tablesaw/tables.modeswitch

Contributing

  1. Fork it ( https://github.com/[my-github-username]/tablesaw-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 a new Pull Request

License

MIT. Do what you want.

About

Fork of tablesaw-rails. Just a ruby gem for asset pipeline which includes the tablesaw library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.1%
  • CSS 42.0%
  • Ruby 0.9%