jquery-rails gem like for Kissy
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/assets/javascripts
lib
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
kissy-rails.gemspec

README.md

kissy-rails

Kissy ! For Rails! So great.

This gem provides:

  • Kissy 1.3.1
  • the kissy_ujs adapter

Installation

Apps generated with Rails 3.1 or later include kissy-rails in the Gemfile by default. So just make a new app:

rails new myapp

If upgrading from an older version of rails, or for rails 4.0 apps, add the kissy-rails gem to your Gemfile.

gem "kissy-rails"

And run bundle install. The rest of the installation depends on whether the asset pipeline is being used.

Rails 3.1 or greater (with asset pipeline enabled)

The kissy and kissy-ujs files will be added to the asset pipeline and available for you to use. If they're not already in app/assets/javascripts/application.js by default, add these lines:

//= require kissy
//= require kissy_ujs