<commit_before><!DOCTYPE HTML>
<html>
<head>
    <title>jQuery.basicColorPicker</title>
    <style>
        /* http://nicolasgallagher.com/micro-clearfix-hack/ */
        .group:before, .group:after {content: ""; display: table;}
        .group:after {clear: both;}

        #picker, .menu {
            width : 120px; /* only thing needed for picker */

            border: 1px solid black;
            margin: 2px;
        }
        .menu {
            cursor: pointer;
        }
    </style>
    <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
    <script src="https://raw.github.com/itechnology/basicColorPicker/master/jQuery.basicColorPicker.js"></script>
</head>
<body>
    <div>
        <div class="menu">X</div>
        <div id="picker" class="group"></div>
    </div>

    <script>
        jQuery(document).ready(function() {
            jQuery("#picker").basicColorPicker({}, function(color, ele) {
                // jQuery(ele).hide(0);
                alert(color);
            });

            jQuery("#picker").bind("picker:selected", function(e) {
                // jQuery(e.target).hide(0);
                alert(e.color);
            });<commit_msg>Demo broken in IE because github serves the js as text/plain<commit_after><!DOCTYPE HTML>
<html>
<head>
    <title>jQuery.basicColorPicker</title>
    <style>
        /* http://nicolasgallagher.com/micro-clearfix-hack/ */
        .group:before, .group:after {content: ""; display: table;}
        .group:after {clear: both;}

        #picker, .menu {
            width : 120px; /* only thing needed for picker */

            border: 1px solid black;
            margin: 2px;
        }
        .menu {
            cursor: pointer;
        }
    </style>
    <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
    <script src="https://raw.github.com/itechnology/basicColorPicker/master/jQuery.basicColorPicker.js"></script>
</head>
<body>
    <div>
        <div class="menu">X</div>
        <div id="picker" class="group"></div>
    </div>

    <script>
        jQuery(document).ready(function() {
            if (jQuery.browser.msie) {
                alert("Sorry github breaks this page,\nplease try in another browser or locally");
                return;
            }
            
            jQuery("#picker").basicColorPicker({}, function(color, ele) {
                // jQuery(ele).hide(0);
                alert(color);
            });

            jQuery("#picker").bind("picker:selected", function(e) {
                // jQuery(e.target).hide(0);
                alert(e.color);
            });
{'fraction_non_alphanumeric': 0.16360153256704982, 'fraction_numerical': 0.007662835249042145, 'mean_word_length': 1.8629385964912282, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '5744949', 'n_tokens_mistral': 797, 'n_tokens_neox': 752, 'n_words': 140}