<commit_before>/**
 * Copyright (c) 2008 <NAME> (http://www.tomdeater.com)
 * Licensed under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */
jQuery.onFontResize=(function(a){a(document).ready(function(){var c=a("<iframe />").attr("id","frame-onFontResize"+Date.parse(new Date)).addClass("div-onfontresize").css({width:"100em",height:"10px",position:"absolute",borderWidth:0,top:"-5000px",left:"-5000px"}).appendTo("body");
if(a.browser.msie){c.bind("resize",function(){a.onFontResize.trigger(c[0].offsetWidth/100);});}else{var b=c[0].contentWindow||c[0].contentDocument||c[0].document;
b=b.document||b;b.open();b.write('<script>window.onload = function(){var em = parent.jQuery(".div-onfontresize")[0];window.onresize = function(){if(parent.jQuery.onFontResize){parent.jQuery.onFontResize.trigger(em.offsetWidth / 100);}}};<\/script>');
b.close();}});return{trigger:function(b){a(document).trigger("fontresize",[b]);}};})(jQuery);<commit_msg>changed jQuery's $.browser.msie to native JS because it was removed in jQuery 1.9 fix #44<commit_after>/** * Copyright (c) 2008 <NAME> (http://www.tomdeater.com) 
 * Licensed under the MIT License: 
 * http://www.opensource.org/licenses/mit-license.php 
 * Updated by <NAME>: 2013-03-31 
 */ 
jQuery.onFontResize=function(e){return e(document).ready(function(){var t=e("<iframe />").attr("id","frame-onFontResize"+Date.parse(new Date)).css({width:"100em",height:"10px",position:"absolute",borderWidth:0,top:"-5000px",left:"-5000px"}).appendTo("body"),n=/(msie) ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[],i=n[1]||"";if("msie"===i)t.bind("resize",function(){e.onFontResize.trigger(t[0].offsetWidth/100)});else{var o=t[0].contentWindow||t[0].contentDocument||t[0].document;o=o.document||o,o.open(),o.write('<div id="em" style="width:100em;height:10px;"></div>'),o.write('<script>window.onload = function(){var em = document.getElementById("em");window.onresize = function(){if(parent.jQuery.onFontResize){parent.jQuery.onFontResize.trigger(em.offsetWidth / 100);}}};</script>'),o.close()}}),{trigger:function(t){e(document).trigger("fontresize",[t])}}}(jQuery);
{'fraction_non_alphanumeric': 0.24649204864359214, 'fraction_numerical': 0.035079513564078575, 'mean_word_length': 8.948837209302326, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '5693718', 'n_tokens_mistral': 779, 'n_tokens_neox': 733, 'n_words': 68}