resources/js/gallery_mansonry.js   A
last analyzed

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 8
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 8
rs 10
wmc 2
mnd 1
bc 1
fnc 1
bpm 1
cpm 2
noi 0
1
2
/*
3
    https://www.npmjs.com/package/justifiedGallery
4
    http://miromannino.github.io/Justified-Gallery/
5
    Options: http://miromannino.github.io/Justified-Gallery/options-and-events/
6
 */
7
8
jQuery(document).ready(function () {
9
    if ($('.lifeGallery').length > 0 ) {
10
        $(".lifeGallery").justifiedGallery({
11
            rowHeight: 180,
12
            margins: 10,
13
        });
14
    }
15
});