<commit_before># Hobo JQuery

This is a simple Rails plugin that works with
[Hobo](http://hobocentral.net).

It adds a bunch of tags to Hobo that instantiate various [JQuery
UI](http://jqueryui.com) widgets.

## Installing

Install with

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

or add

    gem "hobo-jquery", :git => "git://github.com/bryanlarsen/hobo-jquery.git", :branch => "rails3"

to your Gemfile.

Install the javascript and css files with

    rails generate hobo_jquery:install

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

if you installed it as a plugin:

    <include plugin="hobo-jquery" />

if you installed it as a gem:

    <include gem="hobo-jquery" />

in both cases you must add also:

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

## Notes

Hobo Jquery calls
[jQuery.noConflict()](http://docs.jquery.com/Core/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 HoboCentral](http://cookbook.hobocentral.net/api_taglibs/hobo-jquery).
<commit_msg>fix plugin install instructions for rails3 branch.<commit_after># Hobo JQuery

This is a simple Rails plugin that works with
[Hobo](http://hobocentral.net).

It adds a bunch of tags to Hobo that instantiate various [JQuery
UI](http://jqueryui.com) widgets.

## Installing

Install with

    rails plugin install git://github.com/bryanlarsen/hobo-jquery.git -r rails3

or add

    gem "hobo-jquery", :git => "git://github.com/bryanlarsen/hobo-jquery.git", :branch => "rails3"

to your Gemfile.

Install the javascript and css files with

    rails generate hobo_jquery:install

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

if you installed it as a plugin:

    <include plugin="hobo-jquery" />

if you installed it as a gem:

    <include gem="hobo-jquery" />

in both cases you must add also:

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

## Notes

Hobo Jquery calls
[jQuery.noConflict()](http://docs.jquery.com/Core/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 HoboCentral](http://cookbook.hobocentral.net/api_taglibs/hobo-jquery).

{'fraction_non_alphanumeric': 0.11510791366906475, 'fraction_numerical': 0.0015145778114350624, 'mean_word_length': 3.425460636515913, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5902219', 'n_tokens_mistral': 902, 'n_tokens_neox': 833, 'n_words': 276}