Skip to content

Commit cc7096b

Browse files
committed
jsdoc fix phaserjs#1543
1 parent 0054dc9 commit cc7096b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Thanks to @pnstickne for vast majority of this update.
109109
* Added missing properties to the InputHandler prototype, reducing hidden class modifications.
110110
* Updated docstrap-master toc.js to fix nav scrolling (thanks @abderrahmane-tj @vulvulune #1589)
111111
* Added missing plugins member in Phaser.Game class (thanks @Bilge #1568)
112-
* Lots of JSDocs fixes (thanks @vulvulune @micahjohnston @Marchys)
112+
* Lots of JSDocs fixes (thanks @vulvulune @micahjohnston @Marchys @JesseAldridge)
113113
* TilemapLayer.getTiles now returns a copy of the Tiles found by the method, rather than references to the original Tile objects, so you're free to modify them without corrupting the source (thanks @Leekao #1585)
114114
* Sprite.events.onDragStart has 2 new parameters `x` and `y` which is the position of the Sprite before the drag was started. The full list of parameters is: `(sprite, pointer, x, y)`. This allows you to retain the position of the Sprite prior to dragging should `dragFromCenter` have been enabled (thanks @vulvulune #1583)
115115
* Body.reset now resets the Body.speed value to zero.

src/gameobjects/Graphics.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Phaser.Graphics.prototype.destroy = function(destroyChildren) {
200200
* @method Phaser.Graphics.prototype.drawCircle
201201
* @param {Number} x - The X coordinate of the center of the circle.
202202
* @param {Number} y - The Y coordinate of the center of the circle.
203-
* @param {Number} radius - The diameter of the circle.
203+
* @param {Number} diameter - The diameter of the circle.
204204
* @return {Phaser.Graphics} This Graphics object.
205205
*/
206206
Phaser.Graphics.prototype.drawCircle = function(x, y, diameter)

src/loader/Loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Phaser.Loader = function (game) {
6969
/**
7070
* If you want to append a URL before the path of any asset you can set this here.
7171
* Useful if allowing the asset base url to be configured outside of the game code.
72-
* The string _must_ end an "/".
72+
* The string _must_ end with a "/".
7373
*
7474
* @property {string} baseURL
7575
*/

0 commit comments

Comments
 (0)