Passed
Pull Request — master (#303)
by
unknown
10:42
created

docs/custom.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 5
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 3
c 0
b 0
f 0
dl 0
loc 5
rs 10
mnd 0
bc 0
fnc 2
bpm 0
cpm 1
noi 1
1
$(function() {
2
    $('.versions').change(function (e) {
0 ignored issues
show
Unused Code introduced by
The parameter e is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
3
        location.href = $(this).find('option:selected').data('url');
4
    });
5
});