<commit_before>const {
  ipcRenderer
} = require('electron');
window.onload = () => {
  // const {
  //   webFrame
  // } = require('electron');
  // let zoomFactorSlides = 1;
  let initialCommentsFontsize = null;
  let initialSlidesFontsize = null;
  let initialSlidesHeaderFontsize = null;
  let initialSlidesFooterFontsize = null;
  if (document.getElementById('comments') !== null) {
    initialCommentsFontsize = getComputedFontSize(document.getElementById('comments'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  if (document.getElementById('frontal') !== null) {
    initialSlidesFontsize = getComputedFontSize(document.getElementById('frontal'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  if (document.getElementById('header') !== null) {
    initialSlidesHeaderFontsize = getComputedFontSize(document.getElementById('header'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  if (document.getElementById('footer') !== null) {
    initialSlidesFooterFontsize = getComputedFontSize(document.getElementById('footer'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  let content = null;<commit_msg>style(): some housekeeping on renderer.js<commit_after>const {
  ipcRenderer
} = require('electron');
const isEmpty = require('lodash.isempty');
import {getComputedFontSize, setFontSize} from './utils/fontsize';

window.onload = () => {
  // const {
  //   webFrame
  // } = require('electron');
  // let zoomFactorSlides = 1;
  let initialCommentsFontsize = null;
  let initialSlidesFontsize = null;
  let initialSlidesHeaderFontsize = null;
  let initialSlidesFooterFontsize = null;
  if (document.getElementById('comments') !== null) {
    initialCommentsFontsize = getComputedFontSize(document.getElementById('comments'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  if (document.getElementById('frontal') !== null) {
    initialSlidesFontsize = getComputedFontSize(document.getElementById('frontal'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  if (document.getElementById('header') !== null) {
    initialSlidesHeaderFontsize = getComputedFontSize(document.getElementById('header'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  if (document.getElementById('footer') !== null) {
    initialSlidesFooterFontsize = getComputedFontSize(document.getElementById('footer'));
    // console.log('initialCommentsFontsize ' , initialCommentsFontsize);
  }
  let content = null;
{'fraction_non_alphanumeric': 0.1340952380952381, 'fraction_numerical': 0.0007619047619047619, 'mean_word_length': 5.282296650717703, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3671928', 'n_tokens_mistral': 749, 'n_tokens_neox': 716, 'n_words': 117}