<commit_before>jquery.divider.js
====== 

A jQuery plugin for a sliding image divider.

[View demo](http://weblinc.github.com/jquery.divider.js)

Supported in IE6-9, Chrome, FF3.6,12, Safari


Dependencies
---
This plugin requires jQuery (obviously) and jQuery UI's draggable functionality

Options
---
* `panels`: The selector used to find the panels inside the divider element (default: `'.panels'`)
* `controller`: The name of the class assigned to the controller objects (if string), or the element to use as the controller (if jQuery object) (default: `'controller'`)
* `direction`: Accepts `'horizontal'` or `'vertical'`; denotes the direction of the dividers (default: `'vertical'`)
* `position`: Accepts an array of numbers indicating the position of each controller. If no value is passed, the controllers are set up to be equidistant (default: `[]`)
* `handle`: The name of the class assigned to the handle object (if string), or the element to use as the controller (if jQuery object). If left unassigned, no handle is used (default: `false`)

Example
---
Sets `#container1` to be a vertical divider, and `#container3` to be a horizontal divider.

```javascript
  $('#container1').divider({
    controller: 'v-divider', // class assigned to controller div
    direction:  'vertical',
    panels:     '.section',
    position:   [ 550 ], // Sets the only handle to be 550px from the left
    handle:     'handle'
  });

  $('#container3').divider({
    controller: $('<div />', { 'class' : 'h-divider' }), // jQuery element that will be used for controller
    direction:  'horizontal',
    panels:     '.section',
    position:   [ 0 ], // Start the controller at the very top (0px)
    handle:     $('<div />', { 'class' : 'handle' }); // jQuery element to be used for handle
  });
```

Contributing
---
This project uses [smoosh](https://github.com/fat/smoosh) for compiling, linting.
<commit_msg>Change demo link<commit_after>jquery.divider.js
====== 

A jQuery plugin for a sliding image divider.

[View demo](http://weblinc.github.com/jquery-divider)

Supported in IE6-9, Chrome, FF3.6,12, Safari


Dependencies
---
This plugin requires jQuery (obviously) and jQuery UI's draggable functionality

Options
---
* `panels`: The selector used to find the panels inside the divider element (default: `'.panels'`)
* `controller`: The name of the class assigned to the controller objects (if string), or the element to use as the controller (if jQuery object) (default: `'controller'`)
* `direction`: Accepts `'horizontal'` or `'vertical'`; denotes the direction of the dividers (default: `'vertical'`)
* `position`: Accepts an array of numbers indicating the position of each controller. If no value is passed, the controllers are set up to be equidistant (default: `[]`)
* `handle`: The name of the class assigned to the handle object (if string), or the element to use as the controller (if jQuery object). If left unassigned, no handle is used (default: `false`)

Example
---
Sets `#container1` to be a vertical divider, and `#container3` to be a horizontal divider.

```javascript
  $('#container1').divider({
    controller: 'v-divider', // class assigned to controller div
    direction:  'vertical',
    panels:     '.section',
    position:   [ 550 ], // Sets the only handle to be 550px from the left
    handle:     'handle'
  });

  $('#container3').divider({
    controller: $('<div />', { 'class' : 'h-divider' }), // jQuery element that will be used for controller
    direction:  'horizontal',
    panels:     '.section',
    position:   [ 0 ], // Start the controller at the very top (0px)
    handle:     $('<div />', { 'class' : 'handle' }); // jQuery element to be used for handle
  });
```

Contributing
---
This project uses [smoosh](https://github.com/fat/smoosh) for compiling, linting.

{'fraction_non_alphanumeric': 0.13324607329842933, 'fraction_numerical': 0.009424083769633508, 'mean_word_length': 3.848984771573604, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '585584', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1086, 'n_words': 460}