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.
Passed
Push — master ( 9d1212...d9d136 )
by
unknown
08:59
created

UserInterface   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 11
dl 0
loc 20
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A constructor 0 14 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 Popper from 'popper.js';
14
import 'bootstrap';
15
import 'jquery.nicescroll';
16
import 'offline-js';
17
import "./UserInterface.scss";
18
19
/**
20
 * Class UserInterface
21
 * 
22
 * @author  Steeve Andrian Salim
23
 */
24
export default class UserInterface {
25
26
    /**
27
     * UserInterface.constructor
28
     */
29
    constructor() {
30
        window.Popper = Popper.default;
31
        window.$ = window.jQuery = $;
32
33
        $('[data-toggle="dropdown"]').dropdown();
34
        $('[data-toggle="popover"]').popover();
35
        $('[data-toggle="tooltip"]').tooltip();
36
37
        $('.nicescroll').niceScroll({
38
            cursorcolor: "#000",
39
            cursoropacitymax: 0.5,
40
            cursorwidth: "3px"
41
        });
42
    }
43
}