<commit_before>var Factlink = window.Factlink = (function() {
  // Empty Factlink object
  var Factlink = {};

  // noConflicts!
  Factlink.$ = window.jQuery.noConflict();
  Factlink._ = window._.noConflict();
  Factlink.easyXDM = window.easyXDM.noConflict("FACTLINK");

  Factlink._.templateSettings = {
    interpolate : /\{%\=(.+?)%\}/g,
    evaluate : /\{%(.+?)%\}/g
  };

  try {
    if ( typeof global === "undefined" && global !== window.global ) {
      global.$ = Factlink.$;
      global._ = Factlink._;
      global.easyXDM = Factlink.easyXDM;
    }
  } catch(e) { }

  // Expose the Factlink object to the global object
  return Factlink;
})();

(function(Factlink, $, _, easyXDM, undefined) {
  Factlink.siteUrl = function() {
    return FactlinkConfig.url !== undefined ? FactlinkConfig.url : window.location.href;
  };

  // Create the Factlink container
  Factlink.el = $('<div id="fl" />').appendTo('body');
  // Create template wrapper
  Factlink.tmpl = {};

  // Add the stylesheet
  var style = document.createElement("link");
  style.type = "text/css";
  style.rel = "stylesheet";
  style.href = FactlinkConfig.lib + "/src/css/basic.css?" + (new Date()).getTime();
  document.getElementsByTagName("head")[0].appendChild(style);<commit_msg>Removed global part which is no longer needed with grunt<commit_after>var Factlink = window.Factlink = (function() {
  // Empty Factlink object
  var Factlink = {};

  // noConflicts!
  Factlink.$ = window.jQuery.noConflict();
  Factlink._ = window._.noConflict();
  Factlink.easyXDM = window.easyXDM.noConflict("FACTLINK");

  Factlink._.templateSettings = {
    interpolate : /\{%\=(.+?)%\}/g,
    evaluate : /\{%(.+?)%\}/g
  };

  // Expose the Factlink object to the global object
  return Factlink;
})();

(function(Factlink, $, _, easyXDM, undefined) {
  Factlink.siteUrl = function() {
    return FactlinkConfig.url !== undefined ? FactlinkConfig.url : window.location.href;
  };

  // Create the Factlink container
  Factlink.el = $('<div id="fl" />').appendTo('body');
  // Create template wrapper
  Factlink.tmpl = {};

  // Add the stylesheet
  var style = document.createElement("link");
  style.type = "text/css";
  style.rel = "stylesheet";
  style.href = FactlinkConfig.lib + "/src/css/basic.css?" + (new Date()).getTime();
  document.getElementsByTagName("head")[0].appendChild(style);
{'fraction_non_alphanumeric': 0.1783142736128759, 'fraction_numerical': 0.0008470986869970351, 'mean_word_length': 3.4904942965779466, 'pattern_counts': {'":': 0, '<': 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': '4892198', 'n_tokens_mistral': 825, 'n_tokens_neox': 752, 'n_words': 160}