<commit_before>Thumbs
======

> Add touch support to your browser.

About
-----

Small, transparent, and syntax-less library that adds touch support to your browser.

- Handy for desktop debugging
- Support touch-less devices
- [PhoneGap](http://phonegap.com) and mobile web friendly

More detail and a demo are on the [thumbs.js homepage](http://mwbrooks.github.com/thumbs.js/).

Requirements
------------

- Webkit browser (we will add FireFox support soon)

Usage
-----

    <!-- include before all javascript -->
    <script type="text/javascript" src="thumbs.js"></script>

    // later on...

    element.addEventListener('touchstart', callback, false);
    element.addEventListener('touchend',   callback, false);
    element.addEventListener('touchmove',  callback, false);

    // jQuery or zepto.js
    $(element).bind('touchstart', callback);

    // xui
    $(element).on('touchstart', callback);

Building from source
--------------------

Run:

    make

Generates:

    build/thumbs.x.x.js
    build/thumbs.x.x.min.js

Running the tests
-----------------

Open in a Webkit browser:

    test/index.html

Want to contribute?
-------------------

### Report or fix an issue

We use [GitHub Issues](https://github.com/mwbrooks/thumbs.js/issues)

By the way, you rock! Thanks for helping us improve thumbs.js.

### Pull Requests

Pull requests are welcome!

We appreciate the use of topic branches.

    git checkout -b issue_23

    # code

    git commit -m "Issue 23: Fix a bad bug."

    git push origin issue_23

    # send pull request from branch issue_23 to mwbrooks:master
<commit_msg>Update README with browser support.<commit_after>thumbs.js
=========

> Add touch support to your browser.

About
-----

Small, transparent, and syntax-less library that adds touch support to your browser.

- Handy for desktop debugging
- Add touch to touch-less devices
- Does nothing on touch-enabled devices
- [PhoneGap](http://phonegap.com) and mobile web friendly

More detail and a demo are on the [thumbs.js homepage](http://mwbrooks.github.com/thumbs.js/).

Browser Support
---------------

- FireFox Desktop
- Opera Desktop
- Webkit Desktop
- Webkit Mobile

Usage
-----

    <!-- include before all javascript -->
    <script type="text/javascript" src="thumbs.js"></script>

    // later on...

    element.addEventListener('touchstart', callback, false);
    element.addEventListener('touchend',   callback, false);
    element.addEventListener('touchmove',  callback, false);

    // jQuery or zepto.js
    $(element).bind('touchstart', callback);

    // xui
    $(element).on('touchstart', callback);

Building from source
--------------------

Run:

    make

Generates:

    build/thumbs.x.x.js
    build/thumbs.x.x.min.js

Running the tests
-----------------

Open in a browser:

    test/index.html

Running a simple example
------------------------

Open in a browser:

    example/index.html

Want to contribute?
-------------------

### Report or fix an issue

We use [GitHub Issues](https://github.com/mwbrooks/thumbs.js/issues)

By the way, you rock! Thanks for helping us improve thumbs.js.

### Pull Requests

Pull requests are welcome!

We appreciate the use of topic branches.

    git checkout -b issue_23

    # code

    git commit -m "Issue 23: Fix a bad bug."

    git push origin issue_23

    # send pull request from branch issue_23 to mwbrooks:master

{'fraction_non_alphanumeric': 0.15507075471698112, 'fraction_numerical': 0.0047169811320754715, 'mean_word_length': 2.621131270010672, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '584846', 'n_tokens_mistral': 1032, 'n_tokens_neox': 959, 'n_words': 334}