<commit_before>'use strict';

const $ = require('jquery'),
      remote = require('remote');

let main = remote.getCurrentWindow();

$(function(){
  $('.tools .close').on('click', function(){
    $('.app').addClass('closing');
    setTimeout(function(){
      main.close();
    }, 300);
  });

  $('.tools .maximize').on('click', function(){
    main.maximize();
  });

  $('.tools .minimize').on('click', function(){
    main.minimize();
  });
});<commit_msg>Change back to original: Animations should depend on the DE.<commit_after>'use strict';

const $ = require('jquery'),
      remote = require('remote');

let main = remote.getCurrentWindow();

$(function(){
  $('.tools > div').on('click', function(e){
    main[e.target.className]();
  });
});
{'fraction_non_alphanumeric': 0.23537234042553193, 'fraction_numerical': 0.003989361702127659, 'mean_word_length': 4.02, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6929369', 'n_tokens_mistral': 236, 'n_tokens_neox': 231, 'n_words': 48}