Hobo plugin for jQuery.UI widgets. This has been merged into Hobo 1.4.
JavaScript Ruby Other
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 23 commits behind rails3.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
documentation @ 1c0ca03
jquery
lib
public
taglibs
.gitmodules
LICENSE.txt
README.markdown
TODO.markdown
update-docs.sh

README.markdown

Hobo JQuery

This is a simple Rails plugin that works with Hobo.

It adds a bunch of tags to Hobo that instantiate various JQuery UI widgets.

Installing

Install with

ruby script/plugin install git://github.com/bryanlarsen/hobo-jquery.git

Link jQuery, jQuery-UI, and hobo-jQuery assets into your public directory:

rake hobo_jquery:link_jquery
rake hobo_jquery:link_assets

If you're on Windows, you can use the install_jquery and update_assets tasks instead.

To use, you need to include hobo-jquery and add the assets to your page. In your application.dryml:

<include src="hobo-jquery" plugin="hobo-jquery" />

<extend tag="page">
  <old-page merge>
    <custom-scripts:>
      <hjq-assets/>
    </custom-scripts>
  </old-page>
</extend>

To install local documentation:

git submodule update --init

Notes

Hobo Jquery calls jQuery.noConflict() to avoid conflicts with prototype. $ is still bound to prototype.js. To use jQuery, use jQuery instead of $.

Documentation

Auto generated documentation on GitHub.

Auto generated documentation on HoboCentral.