<commit_before># expander: a jQuery plugin

Expander is a jQuery plugin that makes it easy to support expanding long lists, tables and any group of items with "Show N more" functionality.

## Changelog

* Apr 23, 2012 (0.2.5): Major plugin overhaul. Supports all DOM tags with at least one child element. Packaged with minified script.
* Feb 08, 2012 (0.1.0): Initial plugin release.

## Usage

First, load jQuery and the plugin:

```html
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="jquery.expander.js" type="text/javascript"></script>
```

Second, make sure you have a class in your Stylesheet to handle hidden elements:

```html
.hidden {
  display: none;
  visibility: hidden;
}
```

Now, let's attach it to your list on DOM ready:

```html
<pre>
   jQuery(document).ready(function() {
     jQuery(".expander").expander();
   });
</pre>
```

This will add a link to the bottom of your list object:

```html
<table class="expander">
  ...your table info goes here as usual...
</table>
<div class="more_activity">
  <a href="#" name class="expander-more">Show N More</span>
</div>
```
<commit_msg>readme typo fix<commit_after># expander: a jQuery plugin

Expander is a jQuery plugin that makes it easy to support expanding long lists, tables and any group of items with "Show N more" functionality.

## Changelog

* Apr 23, 2012 (0.2.5): Major plugin overhaul. Supports all DOM tags with at least one child element. Packaged with minified script.
* Feb 08, 2012 (0.1.0): Initial plugin release.

## Usage

First, load jQuery and the plugin:

```html
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script src="jquery.expander.js" type="text/javascript"></script>
```

Second, make sure you have a class in your Stylesheet to handle hidden elements:

```html
.hidden {
  display: none;
  visibility: hidden;
}
```

Now, let's attach it to your list on DOM ready:

```html
<pre>
   jQuery(document).ready(function() {
     jQuery(".expander").expander();
   });
</pre>
```

This will add a link to the bottom of your list object:

```html
<table class="expander">
  ...your table info goes here as usual...
</table>
<a href="#" name class="expander-more">Show N More</span>
```

{'fraction_non_alphanumeric': 0.14218009478672985, 'fraction_numerical': 0.01809564842740198, 'mean_word_length': 4.171492204899777, 'pattern_counts': {'":': 0, '<': 25, '<?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': '5473764', 'n_tokens_mistral': 767, 'n_tokens_neox': 714, 'n_words': 279}