'use strict';

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

let main = remote.getCurrentWindow();

$(function(){
  $('.tools > div').on('click', function(e){
    main[e.target.className]();
  });
});

'use strict';

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

let main = remote.getCurrentWindow();

$(function(){
  $('.tools > div').on('click', (e) => main[e.target.className]());
});

Change window tools to 1 line arrow function.
Change window tools to 1 line arrow function.
