Skip to content

Commit

Permalink
Update some information
Browse files Browse the repository at this point in the history
  • Loading branch information
lindelof committed Dec 30, 2019
1 parent 9f80354 commit 57b41d4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@

> React component for particles backgrounds
This project refers to the source code of the [__Proton__](https://github.com/a-jie/Proton) official website, I packaged it into a component. You can use it casually in your own projects. Thanks to the original author.
This project refers to the source code of the [__Proton__](https://github.com/drawcall/Proton) official website, I packaged it into a component. You can use it casually in your own projects. Thanks to the original author.

#### A `vue.js` version of `particles-bg-vue` is here [https://github.com/lindelof/particles-bg-vue](https://github.com/lindelof/particles-bg-vue)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "particles-bg",
"version": "2.4.6",
"version": "2.4.7",
"description": "a particles background for react",
"author": "lindelof",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -22,7 +22,7 @@ export default class ParticlesBg extends Component {
const { num, bg, color } = this.props;

// Code source from here, thanks author
// https://github.com/a-jie/Proton/blob/gh-pages/source/src/utils/Rand.js
// https://github.com/drawcall/Proton/blob/gh-pages/source/src/utils/Rand.js
if (!this.random) {
this.random = new Rand();
this.random.set(0.25, <Color num={num} bg={bg} color={color} />);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Rand.js
@@ -1,5 +1,5 @@
// Code source from here, thanks author
// https://github.com/a-jie/Proton/blob/gh-pages/source/src/utils/Rand.js
// https://github.com/drawcall/Proton/blob/gh-pages/source/src/utils/Rand.js
class Rand {

constructor() {
Expand Down

0 comments on commit 57b41d4

Please sign in to comment.