GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

src/Components/Input/Time.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 35
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 19
dl 0
loc 35
rs 10
c 0
b 0
f 0
wmc 1
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A Time.constructor 0 24 1
1
/**
2
 * This file is part of the O2System Venus UI Framework package.
3
 *
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 *
7
 * @author         Steeve Andrian Salim
8
 * @copyright      Copyright (c) Steeve Andrian Salim
9
 */
10
// ------------------------------------------------------------------------
11
12
import $ from 'jquery';
13
import 'bootstrap-timepicker';
14
15
/**
16
 * Class Time
17
 *
18
 * @author          Teguh Rianto
19
 * @package         Components/Input
20
 */
21
export default class Time {
22
    constructor() {
23
        // Time Picker
24
        $('.timepicker').timepicker({
25
            defaultTIme: false,
26
            icons: {
27
                up: 'fas fa-chevron-up',
28
                down: 'fas fa-chevron-down'
29
            }
30
        });
31
        $('.timepicker-24').timepicker({
32
            showMeridian: false,
33
            icons: {
34
                up: 'fas fa-chevron-up',
35
                down: 'fas fa-chevron-down'
36
            }
37
        });
38
        $('.timepicker-step').timepicker({
39
            minuteStep: 15,
40
            icons: {
41
                up: 'fas fa-chevron-up',
42
                down: 'fas fa-chevron-down'
43
            }
44
        });
45
    }
46
}