<commit_before>/*global require*/
var gui = require('nw.gui');

(function () {
    "use strict";
    // Reference to window and tray
    var win = gui.Window.get(),
        menu = new gui.Menu(),
        tray;

    // Show tray
    tray = new gui.Tray({
        icon: 'assets/icon_128.png'
    });

    tray.on('click', function () {
        win.show();
    });

    menu.append(new gui.MenuItem({
        label: "Show",
        click: function () {
            win.show();
        }
    }));
<commit_msg>Smaller tray icon for cross platform support.<commit_after>/*global require*/
var gui = require('nw.gui');

(function () {
    "use strict";
    // Reference to window and tray
    var win = gui.Window.get(),
        menu = new gui.Menu(),
        tray;

    // Show tray
    tray = new gui.Tray({
        icon: 'assets/icon_16.png'
    });

    tray.on('click', function () {
        win.show();
    });

    menu.append(new gui.MenuItem({
        label: "Show",
        click: function () {
            win.show();
        }
    }));

{'fraction_non_alphanumeric': 0.16618635926993275, 'fraction_numerical': 0.004803073967339097, 'mean_word_length': 1.786096256684492, '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': '4399866', 'n_tokens_mistral': 339, 'n_tokens_neox': 335, 'n_words': 80}