<commit_before># Magnifyingglass.js

## Introduction
This is a simple JavaScript magnifying glass widget for web pages.

## Usage
```
<script src="http://jedi-knight.github.io/magnifyingglass.js/MagnifyingGlass.js-1.0a/MagnifyingGlass.js-1.0a.js"></script>
<script>
    document.addEventListener("DOMContentLoaded", function() {
        new MagnifyingGlass.MagnifyingGlass({
            target: this.getElementById("magnifying-glass-target"),  // magnification target's #id
            opaque: true,    // wether the empty areas of the glass remain transparent (doesn't magnify the background)
            power: 9,	// magnification power
            glass_diameter: 600	// diameter of the glass in pixels
        }).magnification.start();	// starts magnification (and .maginifaction.stop() function stops it, see example 1 below)
    });
</script>
```

## Configuration parameters
1. Toggle button to start and stop
[http://jedi-knight.github.io/magnifyingglass.js/examples/default_autoinit.html](http://jedi-knight.github.io/magnifyingglass.js/examples/default_autoinit.html)<commit_msg>using README.md as the index now;<commit_after># Magnifyingglass.js

## Introduction
This is a simple JavaScript magnifying glass widget for web pages.

## Usage and Configuration
```
<script src="http://jedi-knight.github.io/magnifyingglass.js/MagnifyingGlass.js-1.0a/MagnifyingGlass.js-1.0a.js"></script>
<script>
    document.addEventListener("DOMContentLoaded", function() {
        new MagnifyingGlass.MagnifyingGlass({
            target: this.getElementById("magnifying-glass-target"),  // magnification target's #id
            opaque: true,    // wether the empty areas of the glass remain transparent (doesn't magnify the background)
            power: 9,	// magnification power
            glass_diameter: 600	// diameter of the glass in pixels
        }).magnification.start();	// starts magnification (and .maginifaction.stop() function stops it, see example 1 below)
    });
</script>
```

## Examples
1. Toggle button to start and stop
[http://jedi-knight.github.io/magnifyingglass.js/examples/default_autoinit.html](http://jedi-knight.github.io/magnifyingglass.js/examples/default_autoinit.html)
{'fraction_non_alphanumeric': 0.12090909090909091, 'fraction_numerical': 0.00909090909090909, 'mean_word_length': 3.764069264069264, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5225792', 'n_tokens_mistral': 671, 'n_tokens_neox': 618, 'n_words': 159}