<commit_before><!DOCTYPE html>
<html>
<head>
    <title>SignaturePanel - Getting Started</title>
    <!--[if lt IE 9]><script src="../external/excanvas.compiled.js"></script><![endif]-->
    <script type="text/javascript" src="../external/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="../jquery.signature-panel.js"></script>
    <link rel="stylesheet" type="text/css" href="../jquery.signature-panel.css" />

    <script type="text/javascript">
        
        function signatureOK(signatureData) {
            // Show the user the signature they've entered.
            $("#my-target").signaturePanel("drawClickstreamToCanvas", signatureData);
        }

        function signatureCancel() {
            alert("The user clicked Cancel.");
        }

        $(document).ready(function() {
            $("#my-panel").signaturePanel({
                okCallback: signatureOK,
                cancelCallback: signatureCancel
            });
        });

    </script>

</head>
<body>
    <h1>Sign your name below</h1>
    <div id="my-panel" style="width: 500px; height: 300px; border: 10px solid gray"></div>
    <h2>Here's what you signed</h2>
    <canvas id="my-target" height="100px" width="250px" style="border: 1px solid gray;" ></canvas>
</body>
</html><commit_msg>Changed markup for HTML canvas for better compatibility with ExplorerCanvas<commit_after><!DOCTYPE html>
<html>
<head>
    <title>SignaturePanel - Getting Started</title>
    <!--[if lt IE 9]><script src="../external/excanvas.compiled.js"></script><![endif]-->
    <script type="text/javascript" src="../external/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="../jquery.signature-panel.js"></script>
    <link rel="stylesheet" type="text/css" href="../jquery.signature-panel.css" />

    <script type="text/javascript">
        
        function signatureOK(signatureData) {
            // Show the user the signature they've entered.
            $("#my-target").signaturePanel("drawClickstreamToCanvas", signatureData);
        }

        function signatureCancel() {
            alert("The user clicked Cancel.");
        }

        $(document).ready(function() {
            $("#my-panel").signaturePanel({
                okCallback: signatureOK,
                cancelCallback: signatureCancel
            });
        });

    </script>

</head>
<body>
    <h1>Sign your name below</h1>
    <div id="my-panel" style="width: 500px; height: 300px; border: 10px solid gray"></div>
    <h2>Here's what you signed</h2>
    <canvas id="my-target" height="100" width="250" style="border: 1px solid gray;" ></canvas>
</body>
</html>
{'fraction_non_alphanumeric': 0.1729607250755287, 'fraction_numerical': 0.017371601208459216, 'mean_word_length': 2.7735042735042734, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '3086238', 'n_tokens_mistral': 800, 'n_tokens_neox': 749, 'n_words': 166}