(Chore) eslint

This commit is contained in:
0xfff 2016-09-28 16:13:49 +02:00
parent 46702864a8
commit 9c94fde9a5
2 changed files with 90 additions and 92 deletions

View file

@ -14,120 +14,120 @@
/*eslint-enable */ /*eslint-enable */
particlesJS('boids', { window.particlesJS('boids', {
"particles": { 'particles': {
"number": { 'number': {
"value": 80, 'value': 80,
"density": { 'density': {
"enable": true, 'enable': true,
"value_area": 800 'value_area': 800
} }
}, },
"color": { 'color': {
"value": "#ffffff" 'value': '#ffffff'
}, },
"shape": { 'shape': {
"type": "circle", 'type': 'circle',
"stroke": { 'stroke': {
"width": 0, 'width': 0,
"color": "#000000" 'color': '#000000'
}, },
"polygon": { 'polygon': {
"nb_sides": 5 'nb_sides': 5
}, },
"image": { 'image': {
"src": "img/github.svg", 'src': 'img/github.svg',
"width": 100, 'width': 100,
"height": 100 'height': 100
} }
}, },
"opacity": { 'opacity': {
"value": 0.8, 'value': 0.8,
"random": false, 'random': false,
"anim": { 'anim': {
"enable": false, 'enable': false,
"speed": 1, 'speed': 1,
"opacity_min": 0.1, 'opacity_min': 0.1,
"sync": false 'sync': false
} }
}, },
"size": { 'size': {
"value": 1.5, 'value': 1.5,
"random": true, 'random': true,
"anim": { 'anim': {
"enable": false, 'enable': false,
"speed": 40, 'speed': 40,
"size_min": 0.1, 'size_min': 0.1,
"sync": false 'sync': false
} }
}, },
"line_linked": { 'line_linked': {
"enable": true, 'enable': true,
"distance": 150, 'distance': 150,
"color": "#ffffff", 'color': '#ffffff',
"opacity": 0.5, 'opacity': 0.5,
"width": 1 'width': 1
}, },
"move": { 'move': {
"enable": true, 'enable': true,
"speed": 1, 'speed': 1,
"direction": "none", 'direction': 'none',
"random": false, 'random': false,
"straight": false, 'straight': false,
"out_mode": "out", 'out_mode': 'out',
"attract": { 'attract': {
"enable": false, 'enable': false,
"rotateX": 600, 'rotateX': 600,
"rotateY": 1200 'rotateY': 1200
} }
} }
}, },
"interactivity": { 'interactivity': {
"detect_on": "canvas", 'detect_on': 'canvas',
"events": { 'events': {
"onhover": { 'onhover': {
"enable": true, 'enable': true,
"mode": "grab" 'mode': 'grab'
}, },
"onclick": { 'onclick': {
"enable": false, 'enable': false,
"mode": "push" 'mode': 'push'
}, },
"resize": true 'resize': true
}, },
"modes": { 'modes': {
"grab": { 'grab': {
"distance": 200, 'distance': 200,
"line_linked": { 'line_linked': {
"opacity": 1 'opacity': 1
} }
}, },
"bubble": { 'bubble': {
"distance": 400, 'distance': 400,
"size": 40, 'size': 40,
"duration": 2, 'duration': 2,
"opacity": 8, 'opacity': 8,
"speed": 3 'speed': 3
}, },
"repulse": { 'repulse': {
"distance": 200 'distance': 200
}, },
"push": { 'push': {
"particles_nb": 4 'particles_nb': 4
}, },
"remove": { 'remove': {
"particles_nb": 2 'particles_nb': 2
} }
} }
}, },
"retina_detect": true, 'retina_detect': true,
"config_demo": { 'config_demo': {
"hide_card": false, 'hide_card': false,
"background_color": "none", 'background_color': 'none',
"background_image": "", 'background_image': '',
"background_position": "50% 50%", 'background_position': '50% 50%',
"background_repeat": "no-repeat", 'background_repeat': 'no-repeat',
"background_size": "cover" 'background_size': 'cover'
} }
}); });

View file

@ -24,6 +24,4 @@
}); });
}); });
}(jQuery)) }(jQuery));