<commit_before>Cling
======

Position elements relative to each other with this jQuery plugin.

Usage
-----

```js
$('.whatever').cling('.target', {
	from: '25% top',
	to: 'left 75%',
	offset: '-10 0'
});
```

If you need to update the options:

$('.whatever').cling('options', {
	from: '25% bottom'
});

And when you're done:

```js
$('.whatever').cling('destory')
```

Compatibility
-------------

Works on all major browsers jQuery supports. Cling also requires `requestAnimationFrame` to work properly, so you might need a [polyfill](http://paulirish.com/2011/requestanimationframe-for-smart-animating/) for older browsers.<commit_msg>Minot tweaks to docs.<commit_after>Cling
======

Position elements relative to each other with this jQuery plugin.

Usage
-----

```js
$('.whatever').cling('.target', {
	from: '25% top',
	to: 'left 75%',
	offset: '-10 0'
})
```

If you need to update the options:

```js
$('.whatever').cling('options', {
	from: '25% bottom'
})
```

And when you're done:

```js
$('.whatever').cling('destory')
```

Compatibility
-------------

Works on all major browsers jQuery supports. Cling also requires `requestAnimationFrame` to work properly, so you might need a [polyfill](http://paulirish.com/2011/requestanimationframe-for-smart-animating/) for older browsers.
{'fraction_non_alphanumeric': 0.19242658423493045, 'fraction_numerical': 0.02009273570324575, 'mean_word_length': 4.118577075098814, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '845555', 'n_tokens_mistral': 449, 'n_tokens_neox': 397, 'n_words': 131}