<commit_before>'use strict';

(function(d) {
  var sourceUrl =
   d.getElementById('teem-wjs')
    .getAttribute('src')
    .split('js/widgets.js')[0];

  var projects = d.querySelectorAll('.teem-project');

  function buildProject(e) {
    var projectId,
        iframe = d.createElement('iframe');
    iframe.style.border = 'none';
    iframe.width = '100%';
    iframe.height = '100%';

    projectId = e.getAttribute('data-id');

    iframe.setAttribute('src', sourceUrl + 'widget.html/teems/' + projectId);

    e.appendChild(iframe);
  }<commit_msg>Restore all mode for widgets.js<commit_after>'use strict';

(function(d) {
  var sourceUrl =
   d.getElementById('teem-wjs')
    .getAttribute('src')
    .split('js/widgets.js')[0];

  var projects = d.querySelectorAll('.teem-project');

  function buildProject(e) {
    var projectId,
        iframe = d.createElement('iframe');
    iframe.style.border = 'none';
    iframe.width = '100%';
    iframe.height = '100%';

    projectId = e.getAttribute('data-id');

    iframe.setAttribute('src', sourceUrl + 'widget.html#/teems/' + projectId);

    e.appendChild(iframe);
  }
{'fraction_non_alphanumeric': 0.17360496014171833, 'fraction_numerical': 0.012400354295837024, 'mean_word_length': 3.484126984126984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2177906', 'n_tokens_mistral': 406, 'n_tokens_neox': 368, 'n_words': 64}