<commit_before># jQuery Microtools

## About

_Note: idea/project at very early stage_ 

jQuery Microtools is a plugin for [jQuery](https://github.com/jquery/jquery) that aims to extend jQuery with some useful functions/psudo-selectors potentially needed... somewhere where fine tuning layouts matters. It is not officially registered with the 
jQuery plugin registry yet.

Currently implemented:

* pseudo-selector for fetching elements with current content overflow on any axis: `:mt-overflow`
* pseudo-selector for fetching elements with current content overflow on x-axis: `:mt-overflow-x`
* pseudo-selector for fetching elements with current content overflow on y-axis: `:mt-overflow-y`

pseudo-selectors are prefixed with `mt-` for reducing the risk of potential namespace-clashes.

## Installation

Be sure you already included jQuery in your project (> 1.10.1 is demanded, though > 1.8.x should work anyway).

Clone git repository...

```
$ git clone git<EMAIL>:atufkas/jquery-microtools.git
```

...or install via bower:

```
$ bower install git@github.com:atufkas/jquery-microtools.git
```

## Contribute

Ideas, suggestions and pull requests are welcome.

## License
<commit_msg>Added example.<commit_after># jQuery Microtools

## About

_Note: idea/project at very early stage_

jQuery Microtools is a plugin for [jQuery](https://github.com/jquery/jquery) that aims to extend jQuery with some useful functions/psudo-selectors potentially needed... somewhere where fine tuning layouts matters. It is not officially registered with the
jQuery plugin registry yet.

## Usage

Currently implemented:

* pseudo-selector for fetching elements with current content overflow on any axis: `:mt-overflow`
* pseudo-selector for fetching elements with current content overflow on x-axis: `:mt-overflow-x`
* pseudo-selector for fetching elements with current content overflow on y-axis: `:mt-overflow-y`

Example for marking specific elements with a red border by using mt-overflow pseudo-slector:

In your main script:
```
$(document).ready(function() {
    $('.container:mt-overflow').addClass('overflow-warning');
});
```

In your CSS definitions:
```
.overflow-warning {
    border-color: 1px dotted red;
}
```

pseudo-selectors are prefixed with `mt-` for reducing the risk of potential namespace-clashes.

## Installation

Be sure you already included jQuery in your project (> 1.10.1 is demanded, though > 1.8.x should work anyway).

Clone git repository...

```
$ git clone <EMAIL>:atufkas/jquery-microtools.git
```

...or install via bower:

```
$ bower install <EMAIL>:atufkas/jquery-microtools.git
```

## Contribute

Ideas, suggestions and pull requests are welcome.

## License

{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.0048327137546468404, 'mean_word_length': 4.58298755186722, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 10, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '3535640', 'n_tokens_mistral': 772, 'n_tokens_neox': 733, 'n_words': 296}