File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,16 +245,16 @@ var ParticleEmitter = new Class({
245245
246246 explode : function ( count )
247247 {
248- if ( ! count ) count = 100 ;
249- this . emitParticle ( 100 ) ;
248+ if ( ! count ) { count = 100 ; }
249+ this . emitParticle ( count ) ;
250250 } ,
251251
252252 setShape : function ( shape )
253253 {
254254 this . emitShape = shape ;
255255 } ,
256256
257- emitParticle : function ( count )
257+ emitParticle : function ( count )
258258 {
259259 count = count || 1 ;
260260
@@ -305,7 +305,7 @@ var ParticleEmitter = new Class({
305305 particle . end . rotation = this . endAngle * Math . PI / 180 ;
306306 particle . color = ( particle . color & 0x00FFFFFF ) | ( ( ( this . startAlpha * 0xFF ) | 0 ) << 24 ) ;
307307 particle . index = this . alive . length ;
308-
308+
309309 this . alive . push ( particle ) ;
310310 }
311311 return particle ;
Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ var Sprite = new Class({
4444 this . anims . update ( time , delta ) ;
4545 } ,
4646
47- play : function ( key , startFrame )
47+ play : function ( key , ignoreIfPlaying , startFrame )
4848 {
49- this . anims . play ( key , startFrame ) ;
49+ this . anims . play ( key , ignoreIfPlaying , startFrame ) ;
5050
5151 return this ;
5252 } ,
You can’t perform that action at this time.
0 commit comments