https://github.com/baylorrae/sap-rails
Add Forrst's Sap to Rails asset pipline
https://github.com/baylorrae/sap-rails
Last synced: 2 months ago
JSON representation
Add Forrst's Sap to Rails asset pipline
- Host: GitHub
- URL: https://github.com/baylorrae/sap-rails
- Owner: BaylorRae
- License: mit
- Created: 2012-08-02T04:35:11.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-08-02T04:58:51.000Z (almost 14 years ago)
- Last Synced: 2024-03-15T09:07:45.270Z (over 2 years ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sap::Rails
Sap Rails provides easy access to [Forrst's jQuery Sap](https://github.com/forrst/sap) plugin for the Rails 3.1
asset pipeline.
## Installation
1. Add to the `:assets` group in your Gemfile
```ruby
gem 'sap-rails'
```
2. Install the gem
```shell
bundle install
```
3. Add to your `application.js`
```javascript
//= require jquery.sap
// or
//= require jquery.sap.min
```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request