<commit_before><?php
   //header("Content-type: application/x-javascript");
   header("Content-type: text/javascript; charset=UTF-8");
?>

function WidgetLoader(opts) {
    this.company_id = opts.companyId;
    this.username = opts.user;
    this.widget_id = opts.widgetId;
}

WidgetLoader.prototype.generateFrameMarkup = function() {
    var that = this;    
    var frameUrl = '<?=$deploy_url?>/widget/widget_loader/'+that.widget_id+'/'+that.username+'/'+that.company_id+'/';
    var src = '<span style="z-index:100001"><iframe id="s36Widget" allowTransparency="true" height="300" frameborder="0" scrolling="no" style="width:100%;border:none;overflow:visible;" src="'+frameUrl+'">Insomnia wooohooooh</iframe></span>';
    return src;
}

WidgetLoader.prototype.display = function() { 
    document.write(this.generateFrameMarkup());
}<commit_msg>Oooooh I don't wanna be hurt no more....<commit_after><?php
   //header("Content-type: application/x-javascript");
   header("Content-type: text/javascript; charset=UTF-8");
?>

function WidgetLoader(opts) {
    this.company_id = opts.companyId;
    this.username = opts.user;
    this.widget_id = opts.widgetId;
}

WidgetLoader.prototype.generateFrameMarkup = function() {
    var that = this;    
    var frameUrl = '<?=$deploy_url?>/widget/widget_loader/'+that.widget_id+'/'+that.username+'/'+that.company_id+'/';
    var src = '<span style="z-index:100001"><iframe id="s36Widget" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%;border:none;overflow:visible;" src="'+frameUrl+'">Insomnia wooohooooh</iframe></span>';
    return src;
}

WidgetLoader.prototype.display = function() { 
    document.write(this.generateFrameMarkup());
}
{'fraction_non_alphanumeric': 0.17798594847775176, 'fraction_numerical': 0.016978922716627636, 'mean_word_length': 5.26007326007326, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '811569', 'n_tokens_mistral': 574, 'n_tokens_neox': 542, 'n_words': 85}