Skip to content

Commit

Permalink
Code review comment, see #29
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Dec 9, 2014
1 parent f7aee71 commit f92e348
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/neuron/view/ParticlesWebGLNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ define( function( require ) {

this.allParticles = [];
this.allParticles = this.neuronModel.backgroundParticles.getArray().slice();
//REVIEW: slice() unnecessary, because concat just reads from its parameters.
this.allParticles = this.allParticles.concat( this.neuronModel.transientParticles.getArray().slice() );
this.allParticles = this.allParticles.concat( this.neuronModel.playbackParticles.getArray().slice() );

Expand Down

0 comments on commit f92e348

Please sign in to comment.