Total Complexity | 2 |
Complexity/F | 2 |
Lines of Code | 30 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /** |
||
12 | import $ from "jquery"; |
||
13 | import Popper from 'popper.js'; |
||
14 | import 'bootstrap'; |
||
15 | import 'nicescroll'; |
||
16 | import "./UserInterface.scss"; |
||
17 | |||
18 | /** |
||
19 | * Class UserInterface |
||
20 | * |
||
21 | * @author Steeve Andrian Salim |
||
22 | */ |
||
23 | export default class UserInterface { |
||
24 | |||
25 | /** |
||
26 | * UserInterface.constructor |
||
27 | */ |
||
28 | constructor() { |
||
29 | window.Popper = Popper.default; |
||
30 | window.$ = window.jQuery = $; |
||
31 | |||
32 | $('[data-toggle="popover"]').popover(); |
||
33 | $('[data-toggle="tooltip"]').tooltip(); |
||
34 | |||
35 | $('.nicescroll').niceScroll({ |
||
36 | cursorcolor: "#000", |
||
37 | cursoropacitymax: 0.5, |
||
38 | cursorwidth: "3px" |
||
39 | }); |
||
40 | } |
||
41 | } |