public/js/init.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 40
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 0
c 0
b 0
f 0
dl 0
loc 40
rs 10
wmc 1
nc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 2
1
/*
2
	Halcyonic by HTML5 UP
3
	html5up.net | @n33co
4
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5
*/
6
7
(function($) {
0 ignored issues
show
Unused Code introduced by
The parameter $ is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
8
9
	skel.init({
0 ignored issues
show
Bug introduced by
The variable skel seems to be never declared. If this is a global, consider adding a /** global: skel */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
10
		reset: 'full',
11
		breakpoints: {
12
			'global':	{ range: '*', href: '../../css/style.css' },
13
			'desktop':	{ range: '737-', href: '../../css/style-desktop.css', containers: 1200, grid: { gutters: 25 } },
14
			'1000px':	{ range: '737-1200', href: '../../css/style-1000px.css', containers: 1000, grid: { gutters: 20 }, viewport: { width: 1080 } },
15
			'mobile':	{ range: '-736', href: '../../css/style-mobile.css', containers: '100%!', grid: { collapse: true, gutters: 20 }, viewport: { scalable: false } }
16
		},
17
		plugins: {
18
			layers: {
19
				config: {
20
					mode: 'transform'
21
				},
22
				navPanel: {
23
					hidden: true,
24
					breakpoints: 'mobile',
25
					position: 'top-left',
26
					side: 'left',
27
					animation: 'pushX',
28
					width: '80%',
29
					height: '100%',
30
					clickToHide: true,
31
					html: '<div data-action="navList" data-args="nav"></div>',
32
					orientation: 'vertical'
33
				},
34
				titleBar: {
35
					breakpoints: 'mobile',
36
					position: 'top-left',
37
					side: 'top',
38
					height: 44,
39
					width: '100%',
40
					html: '<span class="toggle" data-action="toggleLayer" data-args="navPanel"></span><span class="title" data-action="copyHTML" data-args="logo"></span>'
41
				}
42
			}
43
		}
44
	});
45
46
})(jQuery);