Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release-2.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Brüderlin committed Feb 18, 2018
2 parents 28737cf + d45c68a commit ec1024b
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ particles.js is a lightweight, dependency-free and responsive javascript plugin
There are several ways to install particles.js:
- [Download the latest version](https://github.com/marcbruederlin/particles.js/archive/master.zip)
- Install with npm: `npm install particlesjs --save`
- Use the CDN: `https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.0/particles.min.js`
- Use the CDN: `https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.1/particles.min.js`

## Usage
Include the minified JS in your HTML (right before the closing body tag).
Expand Down
6 changes: 1 addition & 5 deletions dist/particles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* A lightweight, dependency-free and responsive javascript plugin for particle backgrounds.
*
* @author Marc Bruederlin <hello@marcbruederlin.com>
* @version 2.2.0
* @version 2.2.1
* @license MIT
* @see https://github.com/marcbruederlin/particles.js
*/
Expand Down Expand Up @@ -160,10 +160,6 @@ var Particles = (function(window, document) {
currentBreakpoint = responsiveSettings[breakpoint].breakpoint;

if(responsiveSettings.hasOwnProperty(breakpoint)) {
if(responsiveSettings[breakpoint].options.color) {
responsiveSettings[breakpoint].options.color = _._hex2rgb(responsiveSettings[breakpoint].options.color);
}

while(l >= 0) {
if(_.breakpoints[l] && _.breakpoints[l] === currentBreakpoint) {
_.breakpoints.splice(l, 1);
Expand Down
4 changes: 2 additions & 2 deletions dist/particles.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "particlesjs",
"version": "2.2.0",
"version": "2.2.1",
"description": "A lightweight, dependency-free and responsive javascript plugin for particle backgrounds.",
"main": "dist/particles.min.js",
"repository": {
Expand Down
6 changes: 1 addition & 5 deletions src/particles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* A lightweight, dependency-free and responsive javascript plugin for particle backgrounds.
*
* @author Marc Bruederlin <hello@marcbruederlin.com>
* @version 2.2.0
* @version 2.2.1
* @license MIT
* @see https://github.com/marcbruederlin/particles.js
*/
Expand Down Expand Up @@ -160,10 +160,6 @@ var Particles = (function(window, document) {
currentBreakpoint = responsiveSettings[breakpoint].breakpoint;

if(responsiveSettings.hasOwnProperty(breakpoint)) {
if(responsiveSettings[breakpoint].options.color) {
responsiveSettings[breakpoint].options.color = _._hex2rgb(responsiveSettings[breakpoint].options.color);
}

while(l >= 0) {
if(_.breakpoints[l] && _.breakpoints[l] === currentBreakpoint) {
_.breakpoints.splice(l, 1);
Expand Down

0 comments on commit ec1024b

Please sign in to comment.