<commit_before>jquery-tabs
===========

a super-light tab plugin for jquery

Dependencies
------------
 - jQuery
 - html structure where you have
 -- tabs with a tab class (default: .tab, change selector in options)
 -- content with content class (default: .tab-content, change cselector in options)
 -- data-tab attributes in each that has the unique signifier for the pair

Usage
-----

Example:
 <div class="tab-container">
  <div class="tabs">
   <div class="tab selected" data-tab="uniquesignifierforthepair"></div>
   <div class="tab" data-tab="otheruniquesignifierforthepair"></div>
  </div>
  <div class="tabs-content">
   <div class="tab-content selected" data-tab="uniquesignifierforthepair"></div>
   <div class="tab-content" data-tab="otheruniquesignifierforthepair"></div>
  </div>
 </div>

 <script>
  $('.tab-container').tabs();
 </script><commit_msg>Cleaned up code examples in readme<commit_after>jquery-tabs
===========

a super-light tab plugin for jquery

Dependencies
------------
 - jQuery
 - html structure where you have
  - tabs with a tab class (default: .tab, change selector in options)
  - content with content class (default: .tab-content, change cselector in options)
  - data-tab attributes in each that has the unique signifier for the pair

Usage
-----

HTML:
```
 <div class="tab-container">
  <div class="tabs">
   <div class="tab selected" data-tab="uniquesignifierforthepair"></div>
   <div class="tab" data-tab="otheruniquesignifierforthepair"></div>
  </div>
  <div class="tabs-content">
   <div class="tab-content selected" data-tab="uniquesignifierforthepair"></div>
   <div class="tab-content" data-tab="otheruniquesignifierforthepair"></div>
  </div>
 </div>
```

Initialize in JavaScript
```
 // without config
 $('.tab-container').tabs();
 
 // with custom config values
 $('.tab-container').tabs({
     selector : '.tab',
     cselector: '.tab-content',
     activeClass: 'selected',
     callback: function(e,ident){
         console.log(e, 'was clicked, currently selected:', ident);
     }
 });
```
{'fraction_non_alphanumeric': 0.16796875, 'fraction_numerical': 0.0, 'mean_word_length': 3.8785714285714286, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '1102381', 'n_tokens_mistral': 620, 'n_tokens_neox': 603, 'n_words': 176}