Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 25 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | // jshint esversion: 8 |
||
3 | const electron = require('electron'), |
||
4 | debug = require('debug')('main.bwa.analyser'); |
||
|
|||
5 | |||
6 | const { |
||
7 | app, |
||
8 | BrowserWindow, |
||
9 | Menu, |
||
10 | ipcMain, |
||
11 | dialog |
||
12 | } = electron; |
||
13 | |||
14 | /* |
||
15 | ipcMain.on('bwa:analyser.start', function(...) {...}); |
||
16 | On event: bulk whois analyser starting up |
||
17 | parameters |
||
18 | event (object) - renderer object |
||
19 | contents (object) - bulk whois lookup results object |
||
20 | */ |
||
21 | ipcMain.on('bwa:analyser.start', function(event, contents) { |
||
22 | var { |
||
23 | sender |
||
24 | } = event; |
||
25 | |||
26 | sender.send('bwa:analyser.tablegen', contents); |
||
27 | }); |
||
28 |