Fix some typos in ParticleEmitter

This commit is contained in:
Twilrom 2017-09-26 10:45:10 +02:00
parent b85c1774f2
commit 7580288ddf

View file

@ -245,8 +245,8 @@ var ParticleEmitter = new Class({
explode: function (count) explode: function (count)
{ {
if (!count) count = 100; if (!count) { count = 100; }
this.emitParticle(100); this.emitParticle(count);
}, },
setShape: function (shape) setShape: function (shape)
@ -254,7 +254,7 @@ var ParticleEmitter = new Class({
this.emitShape = shape; this.emitShape = shape;
}, },
emitParticle: function(count) emitParticle: function (count)
{ {
count = count || 1; count = count || 1;