<commit_before>// Copyright 2011 <NAME>
// Available under both the GPL and MIT licenses.

// Check to see if jQuery is avalible.
if (typeof jQuery == 'undefined') throw("jQuery could not be found.");

(function($){
  $.fn.dirtInspector = function(params){

    // Defaults to be used when extending this jQuery object.
    var defaults = {
      ignore_dirty: ":submit",
      before_unload_message: "Are you sure you want to switch windows without saving (Unsaved data will be lost!)",
      bind_before_unload: function( object ){
        object.bind("beforeunload", function(){<commit_msg>Updated bind to be on now. bind is being deprecated. <commit_after>// Copyright 2011 <NAME>
// Available under both the GPL and MIT licenses.

// Check to see if jQuery is avalible.
if (typeof jQuery == 'undefined') throw("jQuery could not be found.");

(function($){
  $.fn.dirtInspector = function(params){

    // Defaults to be used when extending this jQuery object.
    var defaults = {
      ignore_dirty: ":submit",
      before_unload_message: "Are you sure you want to switch windows without saving (Unsaved data will be lost!)",
      bind_before_unload: function( object ){
        object.on("beforeunload", function(){
{'fraction_non_alphanumeric': 0.10947712418300654, 'fraction_numerical': 0.006535947712418301, 'mean_word_length': 3.6226415094339623, 'pattern_counts': {'":': 2, '<': 5, '<?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': '1426749', 'n_tokens_mistral': 341, 'n_tokens_neox': 325, 'n_words': 139}