Skip to content

Commit 0b08877

Browse files
author
Christian Wesselhoeft
committed
Fix jshint issues in src/particles/arcade
1 parent 89a1639 commit 0b08877

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Phaser.Particles.Arcade = {}
1+
Phaser.Particles.Arcade = {};

src/particles/arcade/Emitter.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Phaser.Particles.Arcade.Emitter.prototype.update = function () {
245245
}
246246
}
247247

248-
}
248+
};
249249

250250
/**
251251
* This function generates a new array of particle sprites to attach to the emitter.
@@ -312,7 +312,7 @@ Phaser.Particles.Arcade.Emitter.prototype.makeParticles = function (keys, frames
312312

313313
return this;
314314

315-
}
315+
};
316316

317317
/**
318318
* Call this function to turn off all the particles and the emitter.
@@ -324,7 +324,7 @@ Phaser.Particles.Arcade.Emitter.prototype.kill = function () {
324324
this.alive = false;
325325
this.exists = false;
326326

327-
}
327+
};
328328

329329
/**
330330
* Handy for bringing game objects "back to life". Just sets alive and exists back to true.
@@ -335,7 +335,7 @@ Phaser.Particles.Arcade.Emitter.prototype.revive = function () {
335335
this.alive = true;
336336
this.exists = true;
337337

338-
}
338+
};
339339

340340
/**
341341
* Call this function to start emitting particles.
@@ -373,7 +373,7 @@ Phaser.Particles.Arcade.Emitter.prototype.start = function (explode, lifespan, f
373373
this._counter = 0;
374374
this._timer = this.game.time.now + frequency;
375375

376-
}
376+
};
377377

378378
/**
379379
* This function can be used both internally and externally to emit the next particle.
@@ -450,7 +450,7 @@ Phaser.Particles.Arcade.Emitter.prototype.emitParticle = function () {
450450
particle.body.drag.y = this.particleDrag.y;
451451
particle.body.angularDrag = this.angularDrag;
452452

453-
}
453+
};
454454

455455
/**
456456
* A more compact way of setting the width and height of the emitter.
@@ -463,7 +463,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setSize = function (width, height) {
463463
this.width = width;
464464
this.height = height;
465465

466-
}
466+
};
467467

468468
/**
469469
* A more compact way of setting the X velocity range of the emitter.
@@ -479,7 +479,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setXSpeed = function (min, max) {
479479
this.minParticleSpeed.x = min;
480480
this.maxParticleSpeed.x = max;
481481

482-
}
482+
};
483483

484484
/**
485485
* A more compact way of setting the Y velocity range of the emitter.
@@ -495,7 +495,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setYSpeed = function (min, max) {
495495
this.minParticleSpeed.y = min;
496496
this.maxParticleSpeed.y = max;
497497

498-
}
498+
};
499499

500500
/**
501501
* A more compact way of setting the angular velocity constraints of the emitter.
@@ -511,7 +511,7 @@ Phaser.Particles.Arcade.Emitter.prototype.setRotation = function (min, max) {
511511
this.minRotation = min;
512512
this.maxRotation = max;
513513

514-
}
514+
};
515515

516516
/**
517517
* Change the emitters center to match the center of any object with a `center` property, such as a Sprite.
@@ -526,7 +526,7 @@ Phaser.Particles.Arcade.Emitter.prototype.at = function (object) {
526526
this.emitY = object.center.y;
527527
}
528528

529-
}
529+
};
530530

531531
/**
532532
* @name Phaser.Particles.Arcade.Emitter#x

0 commit comments

Comments
 (0)