Total Complexity | 5 |
Complexity/F | 1.67 |
Lines of Code | 21 |
Function Count | 3 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | $(document).ready(function () { |
||
2 | $.ajax({ |
||
3 | url: "clean", |
||
4 | method: "POST", |
||
5 | data: { |
||
6 | latest: "true", |
||
7 | }, |
||
8 | success: function (res) { |
||
9 | if (typeof res == "object") { |
||
10 | if (res.hasOwnProperty("result")) { |
||
11 | $("#lfile").html(res.result[0]); |
||
12 | $("#ltime").html(res.result[1]); |
||
13 | } |
||
14 | } |
||
15 | }, |
||
16 | }); |
||
17 | }); |
||
18 | |||
19 | function genCacheKey() { |
||
20 | $("#keyCache").val(uuidv4()); |
||
21 | } |
||
22 |