Passed
Push — master ( 62d7d9...8230b1 )
by Alexander
03:29
created

tcms/bugs/static/bugs/js/get.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 10
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 10
rs 10
c 0
b 0
f 0
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 0
1
$(document).ready(function() {
2
    var object_id = $('#object_pk').data('pk');
3
    var perm_remove_tag = $('#object_pk').data('perm-remove-tag') === 'True';
4
5
    // bind everything in tags table
6
    tagsCard('Bug', object_id, {bugs: object_id}, perm_remove_tag);
7
8
    // executions tree view
9
    treeViewBind();
10
});
11