Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 26 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | // jshint esversion: 8 |
||
3 | const electron = require('electron'), |
||
4 | debug = require('debug')('main.bw.wordlistinput'); |
||
5 | |||
6 | const { |
||
7 | app, |
||
8 | BrowserWindow, |
||
9 | Menu, |
||
10 | ipcMain, |
||
11 | dialog, |
||
12 | remote |
||
13 | } = electron; |
||
14 | |||
15 | /* |
||
16 | ipcMain.on('bw:input.wordlist', function(...) {...}); |
||
17 | On event: Bulk domain, wordlist input |
||
18 | parameters |
||
19 | event (object) - renderer object |
||
20 | */ |
||
21 | ipcMain.on('bw:input.wordlist', function(event) { |
||
22 | var { |
||
23 | sender |
||
24 | } = event; |
||
25 | |||
26 | debug("Using wordlist input"); |
||
27 | sender.send('bw:wordlistinput.confirmation'); |
||
28 | }); |
||
29 |