jsdoc fixes.

This commit is contained in:
photonstorm 2015-03-27 10:47:25 +00:00
parent 49be59b0c9
commit 67039df214
2 changed files with 2 additions and 2 deletions

View file

@ -262,7 +262,7 @@ Object.defineProperty(Phaser.Line.prototype, "length", {
/**
* @name Phaser.Line#angle
* @property {number} angle - Gets the angle of the line.
* @property {number} angle - Gets the angle of the line in radians.
* @readonly
*/
Object.defineProperty(Phaser.Line.prototype, "angle", {

View file

@ -1402,7 +1402,7 @@ Phaser.InputHandler.prototype = {
* @param {boolean} [onDrag=true] - If true the sprite will snap to the grid while being dragged.
* @param {boolean} [onRelease=false] - If true the sprite will snap to the grid when released.
* @param {number} [snapOffsetX=0] - Used to offset the top-left starting point of the snap grid.
* @param {number} [snapOffsetX=0] - Used to offset the top-left starting point of the snap grid.
* @param {number} [snapOffsetY=0] - Used to offset the top-left starting point of the snap grid.
*/
enableSnap: function (snapX, snapY, onDrag, onRelease, snapOffsetX, snapOffsetY) {