<commit_before>/*
 * jQuery Raptorize Plugin 1.1
 * www.ZURB.com/playground
 * Copyright 2010, ZURB
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
$(document).ready(function () {
    $("body").raptorize();
});

(function ($) {

    $.fn.raptorize = function (options) {

            //Yo' defaults
            var defaults = {
                enterOn: 'konami-code', //timer, konami-code, click
                delayTime: 5000 //time before raptor attacks on timer mode
            };

            //Extend those options
            var options = $.extend(defaults, options);

            return this.each(function () {

                var _this = $(this);
                var audioSupported = false;
                //Stupid Browser Checking which should be in jQuery Support
                var test_audio = document.createElement("audio");
                if (test_audio.play !== undefined) {
                    audioSupported = true;
                }
                var locked = false;

                // Animating Code
                function init() {
                    locked = true;

                    //Raptor Vars
                    var raptorImageMarkup = '<img id="elRaptor" src="raptor.png" />'
                    var raptorAudioMarkup = '<audio id="elRaptorShriek"><source src="raptor-sound.mp3" /><source src="raptor-sound.ogg" /></audio>';

                    //Append Raptor and Style
                    $('body').append(raptorImageMarkup);
                    if (audioSupported) {
                        $('body').append(raptorAudioMarkup);
                    }
                    var raptor = $('#elRaptor').css({
                        "position": "fixed",
                        "bottom": "-700px",
                        "right": "0",
                        "display": "none"
                    })

                    var raptor = $('#elRaptor').css({
                        "display": "block"
                    });
                    //Sound Hilarity
                    if (audioSupported) {
                        function playSound() {
                            document.getElementById('elRaptorShriek').addEventListener("ended", function () {
                                $('#elRaptorShriek').remove();
                                $('#elRaptor').remove();
                                bindKonami();
                                locked = false;
                            });
                            document.getElementById('elRaptorShriek').play();
                        }
                        playSound();
                    }

                    // Movement Hilarity
                    raptor.animate({
                        "bottom": "0"
                    }, function () {
                        $(this).animate({
                            "bottom": "-130px"<commit_msg>updated z-index<commit_after>/*
 * jQuery Raptorize Plugin 1.1
 * www.ZURB.com/playground
 * Copyright 2010, ZURB
 * Free to use under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
$(document).ready(function () {
    $("body").raptorize();
});

(function ($) {

    $.fn.raptorize = function (options) {

            //Yo' defaults
            var defaults = {
                enterOn: 'konami-code', //timer, konami-code, click
                delayTime: 5000 //time before raptor attacks on timer mode
            };

            //Extend those options
            var options = $.extend(defaults, options);

            return this.each(function () {

                var _this = $(this);
                var audioSupported = false;
                //Stupid Browser Checking which should be in jQuery Support
                var test_audio = document.createElement("audio");
                if (test_audio.play !== undefined) {
                    audioSupported = true;
                }
                var locked = false;

                // Animating Code
                function init() {
                    locked = true;

                    //Raptor Vars
                    var raptorImageMarkup = '<img id="elRaptor" src="raptor.png" />'
                    var raptorAudioMarkup = '<audio id="elRaptorShriek"><source src="raptor-sound.mp3" /><source src="raptor-sound.ogg" /></audio>';

                    //Append Raptor and Style
                    $('body').append(raptorImageMarkup);
                    if (audioSupported) {
                        $('body').append(raptorAudioMarkup);
                    }
                    var raptor = $('#elRaptor').css({
                        "position": "fixed",
                        "bottom": "-700px",
                        "right": "0",
                        "display": "none",
                        "z-index": "9999999"
                    })

                    var raptor = $('#elRaptor').css({
                        "display": "block"
                    });
                    //Sound Hilarity
                    if (audioSupported) {
                        function playSound() {
                            document.getElementById('elRaptorShriek').addEventListener("ended", function () {
                                $('#elRaptorShriek').remove();
                                $('#elRaptor').remove();
                                bindKonami();
                                locked = false;
                            });
                            document.getElementById('elRaptorShriek').play();
                        }
                        playSound();
                    }

                    // Movement Hilarity
                    raptor.animate({
                        "bottom": "0"
                    }, function () {
                        $(this).animate({
                            "bottom": "-130px"
{'fraction_non_alphanumeric': 0.11682561307901908, 'fraction_numerical': 0.007663487738419619, 'mean_word_length': 1.0463414634146342, 'pattern_counts': {'":': 15, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2063441', 'n_tokens_mistral': 1479, 'n_tokens_neox': 1328, 'n_words': 292}