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.
Completed
Push — master ( 2c4be5...42f2f3 )
by
unknown
05:07
created

src/Resources/public/js/app.js   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 16
Code Lines 11

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 11
nc 1
nop 1
dl 0
loc 16
rs 9.85
c 1
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A $(document).ready 0 14 1
1
(function($) {
2
    $(document).ready(function () {
3
        var isSliderPlusOne = $('#banner-slider .sp-slide').length > 1;
4
        var isSliderPlusTwo = $('#banner-slider .sp-slide').length > 2;
5
6
        $('#banner-slider').sliderPro({
7
            width: 1127, height: 300,
8
            fade: false, arrows: true, buttons: false,
9
            touchSwipe: isSliderPlusOne, autoplayDelay: 5000, keyboardOnlyOnFocus: true,
10
            loop: isSliderPlusTwo,
11
            breakpoints: {
12
                767: { fadeArrows: false }
13
            }
14
        });
15
    });
16
})(jQuery);
17