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

Commit

Permalink
Added compiled JavaScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikhasell committed Feb 23, 2018
1 parent 5bb8e48 commit dcf4d1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/particles.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ var Particles = (function(window, document) {
var color1 = this._hex2rgb(p1.color);
var color2 = this._hex2rgb(p2.color);

gradient.addColorStop(0, 'rgba(' + color1.r + ',' + color1.g + ',' + color1.b + ',' + opacity);
gradient.addColorStop(1, 'rgba(' + color2.r + ',' + color2.g + ',' + color2.b + ',' + opacity);
gradient.addColorStop(0, 'rgba(' + color1.r + ',' + color1.g + ',' + color1.b + ',' + opacity + ')');
gradient.addColorStop(1, 'rgba(' + color2.r + ',' + color2.g + ',' + color2.b + ',' + opacity + ')');

_.context.beginPath();
_.context.strokeStyle = gradient;
Expand Down
2 changes: 1 addition & 1 deletion dist/particles.min.js
100644 → 100755

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

0 comments on commit dcf4d1a

Please sign in to comment.