<commit_before>(function() {
  $.fn.easyAudio = function(options) {

    return this.each(function() {
      var opts = $.extend({}, $.fn.easyAudio.defaults, options);
      opts.$elem = $(this);

      var configured = $.fn.easyAudio.configure(opts);

      if (!configured) {
        alert("Your browser doesn't support audio");
        return false;
      }

      $.fn.easyAudio.addAudio(opts);
      $.fn.easyAudio.bindEvents(opts);
    });

  };

  $.fn.easyAudio.defaults = {};

  $.fn.easyAudio.bindEvents = function(opts) {
    var audio = opts.audio;
    opts.$elem.bind('click', function() {
      audio.play();
      opts.$elem.unbind('click');

      $.fn.easyAudio.addAudio(opts);
      $.fn.easyAudio.bindEvents(opts);

      if (opts.onPlay) {
        opts.onPlay();
      }
    });
  }

  $.fn.easyAudio.addAudio = function(opts) {
    opts.$audio = $('<audio src="'+opts.src+'" preload="auto"></audio');
    opts.audio =  opts.$audio.get(0);
    $('body').append(opts.$audio);

    opts.$audio.bind('ended', function() {
      $(this).remove();<commit_msg>namespace<commit_after>(function() {
  $.fn.easyAudio = function(options) {

    return this.each(function() {
      var opts = $.extend({}, $.fn.easyAudio.defaults, options);
      opts.$elem = $(this);

      var configured = $.fn.easyAudio.configure(opts);

      if (!configured) {
        alert("Your browser doesn't support audio");
        return false;
      }

      $.fn.easyAudio.addAudio(opts);
      $.fn.easyAudio.bindEvents(opts);
    });

  };

  $.fn.easyAudio.defaults = {};

  $.fn.easyAudio.bindEvents = function(opts) {
    var audio = opts.audio;
    opts.$elem.bind('click.easyaudio', function() {
      audio.play();
      opts.$elem.unbind('click.easyaudio');

      $.fn.easyAudio.addAudio(opts);
      $.fn.easyAudio.bindEvents(opts);

      if (opts.onPlay) {
        opts.onPlay();
      }
    });
  }

  $.fn.easyAudio.addAudio = function(opts) {
    opts.$audio = $('<audio src="'+opts.src+'" preload="auto"></audio');
    opts.audio =  opts.$audio.get(0);
    $('body').append(opts.$audio);

    opts.$audio.bind('ended', function() {
      $(this).remove();
{'fraction_non_alphanumeric': 0.19963031423290203, 'fraction_numerical': 0.0009242144177449168, 'mean_word_length': 2.626465661641541, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '564647', 'n_tokens_mistral': 737, 'n_tokens_neox': 688, 'n_words': 105}