Completed
Push — develop ( 2c5883...921cbe )
by William
41s
created

filter.js ➔ updateFilter   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
const remote = require('electron').remote;
2
const event = document.getElementsByClassName('events');
0 ignored issues
show
Unused Code introduced by
The constant event seems to be never used. Consider removing it.
Loading history...
3
const {ipcRenderer} = require('electron');
4
5
function updateFilter(e) {
6
	console.log(e);
7
	ipcRenderer.sendSync('filter')
8
}
9