Skip to content

tacid/hobo-jquery

 
 

Repository files navigation

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.

About

Hobo plugin for jQuery.UI widgets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.9%
  • Ruby 1.9%
  • Other 0.2%