{"size": 620, "ext": "js", "max_stars_repo_path": "e2e-electron-[kakapo app]-windows/resources/app/lib/static/login/login.js", "max_stars_repo_name": "forktheweb/kakapo-windows-installer", "max_stars_repo_stars_event_min_datetime": "2020-12-26T00:44:21.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-12T16:42:09.000Z", "max_issues_repo_path": "front-end/desktop/Luminosity Control-win32-x64/resources/app/lib/static/login/login.js", "max_issues_repo_name": "soutomario/luminosity-control", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "front-end/desktop/Luminosity Control-win32-x64/resources/app/lib/static/login/login.js", "max_forks_repo_name": "soutomario/luminosity-control", "max_forks_repo_forks_event_min_datetime": "2017-01-03T23:51:57.000Z", "max_forks_repo_forks_event_max_datetime": "2017-01-03T23:51:57.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 29.5238095238, "max_line_length": 95, "alphanum_fraction": 0.7370967742}
'use strict';

var _electron = require('electron');

var _electron2 = _interopRequireDefault(_electron);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var ipcRenderer = _electron2.default.ipcRenderer;


var form = document.getElementById('login-form');

form.addEventListener('submit', function (event) {
    event.preventDefault();
    var username = document.getElementById('username-input').value;
    var password = document.getElementById('password-input').value;
    ipcRenderer.send('login-message', [username, password]);
});
//# sourceMappingURL=login.js.map
